RabbitMQ - Machine behind NAT

263 views
Skip to first unread message

Fabricio Cruz

unread,
Jan 21, 2016, 11:23:29 AM1/21/16
to rabbitmq-users
Hello !!

With the help of group I managed to set up Federation, now I need help in the following scenario:

  RabbitMQ A (is in the cloud)
  RabbitMQ B (It's behind NAT)

My question is :

  Q: Is it possible to get RabbitMQ B send messages to RabbitMQ A?


  When sending messages from the  A,    B can receive but the opposite process does not work, "the problem is the NAT"

  Thank you so much!

Fabricio

Michael Klishin

unread,
Jan 21, 2016, 2:03:07 PM1/21/16
to rabbitm...@googlegroups.com, Fabricio Cruz
I'd expect it to be the other way around: B certainly should be able to connect to A
and publish messages there (via federation links) but A typically won't have a way to connect to B
(without a tunnel of some kind).
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Fredrik Sörensson

unread,
Jan 26, 2016, 10:57:12 AM1/26/16
to rabbitm...@googlegroups.com

Hello.

 

I would propose using the Dynamic Shovel in RabbitMQ. With shovels you can control who initiates the TCP session, so you can have B connect to A and shovel messages from a queue on B to an exchange or queue on A. You can even have the shovel on queuemanager C and have it connect to both A and B and shovel in any direction, but that’s another story.

 

/Fredrik

--
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.

Fabricio Cruz

unread,
Feb 4, 2016, 7:48:18 AM2/4/16
to rabbitm...@googlegroups.com

thank you . I'll Test Now ! Thank you !

--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/YRNP8PnRH1E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.

Kyle Monson

unread,
Dec 8, 2017, 7:27:49 PM12/8/17
to rabbitmq-users
Is this still the best way to solve this problem? We are looking at a similar situation and want to know if dynamic shovel is still state of the art for rabbit.

Michael Klishin

unread,
Dec 8, 2017, 8:41:31 PM12/8/17
to rabbitm...@googlegroups.com
If you need to move messages from node/cluster A to node/cluster B, Shovel does that pretty well
(and does nothing else).

On Fri, Dec 8, 2017 at 4:27 PM, Kyle Monson <monso...@gmail.com> wrote:
Is this still the best way to solve this problem? We are looking at a similar situation and want to know if dynamic shovel is still state of the art for rabbit.

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages