Many thanks Mirek for your input! Messages are removed as part of the task and sometimes there are no messages when it fails so I suspect this might not be the reason. Also the error comes when we try to 'pause' the queue. If the error is due to many messages, then any idea what can be the possible reason in this case?
-- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html