You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by dylan25 <db...@gmail.com> on 2015/05/28 01:09:52 UTC

AMQP C++ Broker & Proton Messenger API

Hello Everybody,

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?

Thank you so much for your help,
Dylan



--
View this message in context: http://qpid.2158936.n2.nabble.com/AMQP-C-Broker-Proton-Messenger-API-tp7625362.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: AMQP C++ Broker & Proton Messenger API

Posted by Gordon Sim <gs...@redhat.com>.
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: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: AMQP C++ Broker & Proton Messenger API

Posted by dylan25 <db...@gmail.com>.
Hi Matt,

Thanks, that was actually the documentation I used to get it to work with
RabbitMQ. Sorry that my original post wasn't clear, I'm now trying to get
Proton working with the C++ Broker (here: 
http://qpid.apache.org/components/cpp-broker/
<http://qpid.apache.org/components/cpp-broker/>  ). The RabbitMQ
documentation was very helpful with URI formatting; I'm looking for
something similar with the C++ Broker.

Thanks,
Dylan



--
View this message in context: http://qpid.2158936.n2.nabble.com/AMQP-C-Broker-Proton-Messenger-API-tp7625362p7625364.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: AMQP C++ Broker & Proton Messenger API

Posted by Matt Broadstone <mb...@gmail.com>.
On Wed, May 27, 2015 at 7:09 PM, dylan25 <db...@gmail.com> wrote:

> Hello Everybody,
>
> 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?
>
> Thank you so much for your help,
> Dylan
>
>
You might find this documentation helpful:
https://github.com/rabbitmq/rabbitmq-amqp1.0#routing-and-addressing

Cheers,
Matt


>
>
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/AMQP-C-Broker-Proton-Messenger-API-tp7625362.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>