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?

--Rafael


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to