On 04/13/2015 05:12 PM, Dominic Evans wrote:
Hi all,
It isn't clear from the 1.0 spec, whether or not addresses are intended to be
valid URIs with %-encoding used to escape characters rfc2396-style. It doesn't
currently appear as if either the qpid-java or qpid-cpp brokers to URI decoding
on the addresses it receives.
For example, if I @attach a pair of sender+receiver links using the address of
an:example, should I then be sending messages with a 'to' address of
amqp:///an:example or amqp:///private%3Apublic ?
The latter is what I'd expect, but qpid doesn't seem to agree :)
As far as the spec is concerned, the address is just a string. The use
of a URL is a proton messenger convention.
The c++ broker doesn't actually care about the to (or reply-to) fields.
Unless it is converting to or from 0-10, it passes the bare message
through exactly as it receives it. It treats the address of the source
or target as the name of a node (which it resolves to either a queue or
an exchange).
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]