activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Woodson <>
Subject Broker detection of poison messages
Date Fri, 11 Jul 2008 22:14:39 GMT

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