On 05/28/2015 12:09 AM, dylan25 wrote:
I am currently trying to use the example /send/ and /recv/ programs from
Proton's Messenger API with the Qpid C++ broker (using AMQP 1.0). I have
been able to get them working with RabbitMQ (using RMQ's AMQP 1.0 plugin),
although I am unsure of what the URI scheme is for the Qpid broker. Using
the logging features of the /qpidd/ server, I've been able to see that
/send/ and /recv/ are establishing connections with the server. I am not
quite sure, however, how to format the exchanges and queues to send/receive
messages to/from in the URI. I wasn't able to find this in the C++ broker
book (although I could have certainly missed it). Would anybody be able to
possibly point me in the  right direction or explain the URI scheme?

The path of the url is used as the node name when establishing links (either for sending or receiving). The node name can be either an existing queue or exchange. You can pre-create queues and exchanges using qpid-config.

Where a receiving link is established from a node that resolves to an exchange, a subscription queue will automatically be created broker side and bound to this exchange. The bindings are controlled by a filter, which is not easy to setup with messenger but may be possible by directly accessing the link (I haven't tried this myself).

Additionally, if you want a queue or exchange to be created on demand when a link comes in you can specify queue-policies and/or topic-policies to control which names are handled in this way (and in more advanced cases how the queues or exchanges are created if needed).


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to