[rabbitmq-discuss] Consumers and exceptions

Jon Hill jon.hill at comshen.com
Sun Feb 19 18:01:38 GMT 2012


Hi

I've just been reading this post:
http://groups.google.com/group/rabbitmq-discuss/browse_thread/thread/77bc5f0329fa61c4/bf0c15a0502555ae?lnk=gst&q=defaultconsumer#bf0c15a0502555ae

It tells me that if an Exception is thrown from a Consumer the
expected behaviour is to close the connection (my shutdown listener
doesn't kick in when this occurs either).

So, should I return immediately once the consumption has finished and
handle the application layer processing of the messages in a separate
thread?

Best,

Jon


More information about the rabbitmq-discuss mailing list