Or for this case (where messages with age > 2 secs can be discarded), couldn't you have a variant... ignore the network connector status, and allow messages to be expired after 2000 milliseconds via setTimetoLive on the producer.
----- Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA -- View this message in context: http://activemq.2283324.n4.nabble.com/Producer-blocks-when-trying-to-send-async-JMS-messages-to-failed-broker-tp4562391p4564621.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.