[rabbitmq-discuss] RabbitMQ consumer rebind in .net
Arindam
nayak.arindam at gmail.com
Wed Aug 28 15:08:34 BST 2013
Thanks for your reply!
I have checked rabbitmq server log, it is showing error as
"connection_closed_abruptly".
I am using rabbitmq's topic exchange conf. So i am having 4-5 consumers.
but single server with one exchange, having 5 routing key- each mapped to 5
queue. 5 queue has got 5 consumer in diff machines. So even if, one
consumer is down, still others are working. How is it possible, even i
don't know. So i have written code to restart, that does not even work. But
if i manually restarts service in that particular system, this helps.
- Arindam
On 28 August 2013 19:11, Emile Joubert <emile at rabbitmq.com> wrote:
> On 28/08/13 14:20, Arindam wrote:
> > What do you mean by "detached"? Was the network disconnected?
> >
> > /Detached means -- consumer is not able to process data from queue./
> >
> > /Scenario- when consume is up, it shows in management UI , consumers
> > section of queue./
> >
> > /when consumer is detached, in management UI , it no more displays that
> > consumer. when i check with that windows service, it shows service is
> > running fine, but log file for that service shows "SharedQueue closed"./
> >
> > /No, the network in up at all time, i don' t know exact reason for
> > disconnection (may be that queue is idle for some time period) ./
>
> If you suspect a network timeout then please turn on AMQP heartbeats and
> see if that helps.
>
> > Have you checked the broker logfiles or the OS event log? Does
> > "rabbitmqctl report" produce output that you can share?
> >
> > /No i have not checked that, can you tell me location for that log
> > files? and how to use that command, and decode informations./
>
> Please see the "Logging" section:
> http://www.rabbitmq.com/install-windows.html
>
> The instructions on how to use that command are documented:
> http://www.rabbitmq.com/man/rabbitmqctl.1.man.html
>
>
> > Does this only happen when running as a service, or does the same happen
> > when the broker is run as a foreground application?
> > /
> > /I have not tested consumer/broker in foreground, but i need that in
> > windows service only, so that my problem will be resolved./
>
> Running as an application will help determine whether the problem is
> service-specific.
>
> > Any other diagnostic information you can provide will help determine the
> > cause.
> >
> > /I have one more error in log file -- The AMQP operation was
> > interrupted: AMQP close-reason, initiated by Application, code=200,
> > text="Goodbye", classId=0, methodId=0, cause= /
>
> This means the client application closed the connection normally. Check
> why your application closed the connection.
>
>
>
>
>
> -Emile
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130828/b00b1d7e/attachment.htm>
More information about the rabbitmq-discuss
mailing list