activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen van Bergen <>
Subject Re: Consumer not consuming messages
Date Wed, 13 Feb 2008 07:54:59 GMT

wha wrote:
> I can't see your entire code.
> I don't know if you have a setMessageListener(YourConsumerClass) for your
> consumer.
> Your consumer class must implement MessageListener.

What I gathered from the JMS API documentation is that a call to receive()
of a Consumer (as defined in the JMS API) amounts to the same thing.
Furthermore I want to have control over when my consumer actually consumes
messages, so I'm using receiveNoWait() to consume messages from the queue.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message