activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jigar Naik <>
Subject Re: JMS consumer is not receiving any messages. am i missing something ?
Date Fri, 11 Jul 2008 12:02:08 GMT

Jigar Naik wrote:
> Hi The uploaded file contains the consumer code. but the consumer is not
> receiving any messages even though there are 10 messages in the queue. I
> have tried to debug the code. but i found it is not calling the
> onMessage() method.
> Am i missing something ?
> Thanks 
> Jigar


I have commented the following line of  code. and i received all the
messages. It is behaving the way it should now. 


but the question is now when should i close consumer, session and connection
object ???
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message