[rabbitmq-discuss] Federation Fanout

Timya Tortus timya15 at gmail.com
Mon May 14 17:19:58 BST 2012


Hi All,

Having 3 rabbitmq servers installed on one machine.
The configuration below, also attached are the config files.
1) node name: hare
host: localhost
tcp listener: 5672
mgmt listener: 55670
web console: 55672
config file: hare.config

2) node name: rabbit1
host: localhost
tcp listener: 5673
mgmt listener: 55673
web console: 55674
config file: rabbit1.config

3) node name: rabbit2
host: localhost
tcp listener: 5674
mgmt listener: 55675
web console: 55676
config file: rabbit2.config

 ------------------------------------------------
 | localhost (127.0.0.1)                        |
 |                           +--+ +--+          |
 |                 M1        |  | |  |      M1  |
 |               -------->   |  +-+  +--+   M3  |
 |                 M2        | rabbit1  |   M5  |
 |               -------->   |          |   M7  |
 |  +--+ +--+      M3        +----------+       |
 |  |  | |  |    -------->                      |
 |  |  +-+  +--+   M4                           |
 |  |  hare    | -------->                      |
 |  |          |   M5                           |
 |  +----------+ -------->    +--+ +--+         |
 |                 M6         |  | |  |     M2  |
 |               -------->    |  +-+  +--+  M4  |
 |                 M7         | rabbit2  |  M6  |
 |               -------->    |          |      |
 |                            +----------+      |
 ------------------------------------------------

Downstream messages are sent as M1, M2..... M7.
The messages received on the federated clients are as
rabbit1 receiving M1, M3, M5, M7
rabbit2 receiving M2, M4, M6

Why are all the messages not being received by both rabbit1 and rabbit2.

This also happens for the case below:
1) node name: hare
host: 204.11.52.128

2) node name: rabbit1
host: 192.168.1.1 (NAT: 204.8.156.142)

3) node name: rabbit2
host: 192.168.1.2 (NAT: 204.8.156.142)

i.e hare is a hosted rabbitmq server. While rabbit1 and rabbit2 are in a
local environment accessing hare.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120514/47073f56/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hare.config
Type: application/octet-stream
Size: 166 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120514/47073f56/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rabbit1.config
Type: application/octet-stream
Size: 1049 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120514/47073f56/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rabbit2.config
Type: application/octet-stream
Size: 1051 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120514/47073f56/attachment-0002.obj>


More information about the rabbitmq-discuss mailing list