The timeout setting only works when the pending outbound request over the transport is a message send, and only when the transport is disconnected and stays disconnected.
If any request other than a message send is pending (e.g. consumer or producer creation), the timeout is not applied. Also, if the send is blocked on the broker side for any reason (such as producer flow control), then the timeout does not apply. -- View this message in context: http://activemq.2283324.n4.nabble.com/If-my-ActiveMQ-brokers-are-down-how-do-I-tell-my-producer-to-stop-blocking-the-thread-tp4698835p4698949.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.