Artem, I believe you need to continue to use `fromUriString()` as is currently used by the `RestTemplate`. The problem with using `fromHttpUrl` is that if there's a fragment component (e.g http://......xyz?foo#bar), and `encode-url="true"` the # will incorrectly be encoded...

    junit.framework.ComparisonFailure: null expected:<...xx/si.test.queue?foo[#]bar> but was:<...xx/si.test.queue?foo[%23]bar>
	at junit.framework.Assert.assertEquals(Assert.java:81)