activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Aysnc ActiveMQ Message consumer unable to consume messages.
Date Mon, 31 Aug 2015 13:40:24 GMT
On 08/31/2015 06:17 AM, mundrapiyush wrote:
> 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. 

Did you remember to call start on your consumers connection?

> 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.
>


-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.redhat.com 
twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message