qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Schloming <rafa...@redhat.com>
Subject Re: C++, Python: Setting Properties
Date Thu, 12 Feb 2009 13:26:10 GMT
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:dev-subscribe@qpid.apache.org


Mime
View raw message