Have you considered to use an asyncronous receiver? Try to implement the asyncronous function onMessage(const Message*)...see the ActiveMq CMS documentation.
-- View this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-message-from-queue-topic-tp4677680p4677681.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.