[rabbitmq-discuss] connecting to multiple rabbitmq servers (point-multipoint)

Guillem Corominas gcorominas at dexmatech.com
Fri Feb 5 15:31:45 GMT 2010


Hi all,

I have a problem regarding the use of multiple rabbitmq servers installed in
lots of machines (one in each).
My architecture is based on diferent machines that produce data and send its
local rabbitmq server.
Then there is a master machine which connects to all the producers'
rabbitmqs using the Java client and consumes all the data, by extending the
DefaultConsumer and overriding the handleDelivery method.

My scenario with one producer and one consumer works like a charm. However
when I start consuming from a second producer,
it works well during a small period of time (about 2h) and then suddenly
stops consuming the data from the producers (stops both at the same time)
and queues start to fill.

I supose it's a problem with the connection & or channel but there is
nothing on the logs (neither in the java client nor in the rabbitmq).
If I then try to perform a basicCancel to any of my consumer instances, the
call becomes blocked and never returns a response neither an error.

I have one open connection and one open channel per producer, however I have
3 consumers that consume different kinds of message (topic dependent) that
share the Channel.
Can this be the problem? if not, anybody can tell me what considerations
(about connections, channels, consumers & co) I have to take into account
when doing this point-multipoint aproaches?

thanks a lot in advance, I'm really stuck and don't know where to head to.

guillem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100205/e1821e35/attachment.htm 


More information about the rabbitmq-discuss mailing list