Rafael Schloming wrote:
Gordon Sim wrote:
Rafael Schloming wrote:
Jonathan Robie wrote:
C++:
=====
Message message;
message.getDeliveryProperties().setRoutingKey("request");
message.getMessageProperties().setReplyTo(ReplyTo("amq.direct",
"reply_to_key");
In C++, I create a message, then set its properties.
How does this work? Are the delivery properties and message
properties objects created implicitly by the declaration, created
internally on demand by the getters, or would this code actually
throw an exception because they haven't been set yet?
They are created on demand by the getters.
Ok, so to send a message without delivery properties or message
properties you would just avoid calling the respective getter?
Yes
Is there a way to clear them?
No
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]