On 07/28/2015 03:39 PM, dylan25 wrote:
Thank you so much, Gordon, that worked! Is there a way (either on the client
or server side) to set it to create that node if it doesn't exist?

Yes, qpidd has the notion of queue- and/or topic- 'policies'. These are associated with a naming prefix and when a sending or receiving link is attached to a non-existent node that matches one of these patterns, the node is created on demand according to the policy.

The simplest use of this is just to have a naming convention for auto-created queues and topics. E.g. starting qpidd with --queue-policy ac_queue and --topic-policy ac_topic would mean that any attach to or from a node starting ac_queue would result in a queue of that anme being created on demand. The names you use can be whatever makes sense in your application.

For
example, I know that the qpid-send and qpid-receive test programs with
qpid-cpp-0.34 allow you to do that by including "{create: always}" with the
node name.

Yes, unfortunately that is not available through the messenger api and in any case relies on non-standard use of the protocol. A broker side configuration is I think preferable. Other 1.0 brokers such as ActiveMQ (including Artemis and Apollo), RabbitMQ also provide mechanisms for auto-created queues/topics.


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

Reply via email to