Found the cause. My messages were quite big and they were filling the memory buffer of the queue.I increased it and the problem was resolved:
<systemUsage> <systemUsage> <memoryUsage> <memoryUsage limit="1 gb"/> </memoryUsage> <storeUsage> <storeUsage limit="100 gb"/> </storeUsage> </systemUsage> </systemUsage> -- View this message in context: http://activemq.2283324.n4.nabble.com/activemq-deadlocks-when-publisher-tries-to-commit-tp4671888p4672177.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.