I am using a an Async Message Consumer in ActiveMQ. My Producer works just
fine and send message to the Queue. Now, my async message consumer is just
waiting for the onMessage() to be called on, which never happens. So, the
problem is:

* Messages are not consumed by the Async Consumer. 
* Messages get piled up in the pending messages for the Queue. 

Snapshot of the ActiveMQ log also shows a lot of messages just piled up in
the pending state: 

2015-08-31 09:54:45,331 | DEBUG | queue://SampleQ1, subscriptions=0,
memory=0%, size=517, pending=0 *toPageIn*: 78, Inflight: 0,
*pagedInMessages.size* 439, *pagedInPendingDispatch.size* 438, enqueueCount:
529, dequeueCount: 12, memUsage:2971237 |
org.apache.activemq.broker.region.Queue | Queue:SampleQ1

I am unable to figure out where exactly the problem lies:

Is it a server side problem or a client side ?





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Aysnc-ActiveMQ-Message-consumer-unable-to-consume-messages-tp4701522.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to