Listen Remote Queues over AMQP 1.0 protocol

20 views
Skip to first unread message

arvind...@gmail.com

unread,
Jul 11, 2018, 3:24:44 AM7/11/18
to rabbitmq-users
Dear RabbitMQ Community,


Actually, I am using a soap service to deal with publisher/ subscriptions process and that service provides a url and queue name in response for particular subscription. I need to consume messages from those queue and also for authentication I need to pass client certificate that are provided by them. Also that third party firm has its own message broker over AMQP 1.0 protocol.

I found one of  library named as amqp.net lite that easily make connection with that url and queue to consume messages.

My concern is, Can we consume or listen those remote queues with our rabbitmq client over amqp 1.0 protocol? 


Thanks & Regards 

Arvind

Karl Nilsson

unread,
Jul 11, 2018, 4:57:40 AM7/11/18
to rabbitm...@googlegroups.com
Hi,

It sounds like you are using .NET of some kind? The RabbitMQ .NET clients only supports AMQP 0.9.1 so will not be able to consume messages from an AMQP 1.0 endpoint. You will have to use an AMQP 1.0 compatible client library.

NB: the RabbitMQ broker supports AMQP 1.0 as well, as does the rabbitmq shovel plugin since version 3.7.

Cheers
Karl

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

arvind...@gmail.com

unread,
Jul 11, 2018, 5:55:54 AM7/11/18
to rabbitmq-users
Hi Karl,

Thanks for your response. Have some queries:

1. Can we achieve that using Shovel plugin, if we enable AMQP 1.0 and shovel plugin too? 
2. Does shovel plugin allow remote queues from different broker to listen and push messages into RabbitMQ?


Thanks & Regards,

Arvind

Karl Nilsson

unread,
Jul 11, 2018, 9:18:12 AM7/11/18
to rabbitm...@googlegroups.com
1. I am not 100% sure what it is you are trying to achieve.
2. Yes the shovel will either subscribe to an upstream endpoint and publish to a local exchange or vice versa. See: https://www.rabbitmq.com/shovel.html

arvind...@gmail.com

unread,
Jul 11, 2018, 9:57:09 AM7/11/18
to rabbitmq-users
Hi Kerl, 

Regarding first one:  Soap service firm has their own Message broker over AMQP 1.0 protocol which provides us URL and queue name only (SSL certificate for authorization as well) and I want to consume messages from that queue. Can we use rabbitmq client with shovel plugin to connect and consume messages from their broker address?  

Thanks & Regards

Arvind

Karl Nilsson

unread,
Jul 11, 2018, 10:54:35 AM7/11/18
to rabbitm...@googlegroups.com
Yes you should be able to use the shovel for this purpose to move the message from the upstream queue into a local RabbitMQ queue then you can use a RabbitMQ client to consume from that queue. It would be more direct if you used an AMQP 1.0 client to subscribe to your upstream queue however.

Have a read through the shovel docs and see if it will fit your purpose.

arvind...@gmail.com

unread,
Jul 11, 2018, 10:56:09 AM7/11/18
to rabbitmq-users
ok, Thanks for this fruitful information :) 
Reply all
Reply to author
Forward
0 new messages