activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crisp <>
Subject Re: Broker detection of poison messages
Date Wed, 16 Jul 2008 16:11:45 GMT

Hi Mike,

   I've seen nothing like this in the docs.  How about explicitly
receipt of the message before processing the message content?  If you run
of heap while processing the message, it won't be redelivered.


Michael Woodson wrote:
> I'm working on a consumer that might receive an OutOfMemoryError while
> processing a message.  When that happens, I would like the consumer
> process to die (System.exit) so it will be restarted with a clean JVM.  Is
> there a way for the broker to detect if a consumer dies without cleanly
> rolling back or closing the session and move that message to the dead
> letter queue?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message