I'm trying to determine if the message header x-amqp-to has any use or
if it's a historical leftover. Here's what I found in the 3 qpid
projects:

== proton
== dispatch
doc/book/release-0.1.md:        request.setProperty("x-amqp-to",
"amqp:/_local/$management");
doc/book/using.md:        request.setProperty("x-amqp-to",
"amqp:/_local/$management");
== qpid
qpid/cpp/AMQP_1.0:for the header section, and x-amqp-to,
x-amqp-absolute-expiry-time,
qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp:
map["x-amqp-to"] = to.str();
qpid/cpp/src/qpid/messaging/amqp/SenderContext.cpp:const std::string
X_AMQP_TO("x-amqp-to");

I believe the dispatch documentation references are incorrect and should
be setting the normal "to" address for the message, not the x-amqp-to
property. I'll test that and correct if its the case.

I followed the bread crumbs in the qpid code base and all I could find
was (a lot of) code for propagating this property along the message
encoding and transformation path and making it available in the Message
API. I couldn't find any code that actually *uses* it.

Does anyone know if I'm missing something or can we get rid of it
entirely?

Cheers,
Alan.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to