Hi Mike, I've seen nothing like this in the docs. How about explicitly acknowledging receipt of the message before processing the message content? If you run out of heap while processing the message, it won't be redelivered.
-D 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: http://www.nabble.com/Broker-detection-of-poison-messages-tp18413507p18491014.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.