Hey, we have a setup whereby we are sending persistent messages to an MQ in SessionTransacted batches.
The problem we are facing is that if the MQ fills up, our producer blocks indefinitely. We dont have control over the server side queue, so we need to be able to abort sending (rather than wait forever) We have set the sendTimeout on the connectionFactory however, while this throws the expected exception, any attempt to do a session.close() blocks waiting for a Response object. Is there a way to get the blocked send call to just fail/timeout to enable us to close the session/connection object and terminate the thread/process? Otherwise we are at the mercy of a slow/poorly configured consumer that can block our system. Cheers! -- View this message in context: http://activemq.2283324.n4.nabble.com/Force-Producer-to-fail-when-blocked-by-slow-consumer-tp4710264.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.