Figured out the problem with 2. The client had a network timeout of 30 seconds. Every producer and consumer creates its own connection and session and that caused the problems. Reducing the timeout solved issue 2.
-- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html