activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Consumer not consuming messages
Date Wed, 13 Feb 2008 08:09:44 GMT
Can you attach a test case for this ?

On Feb 13, 2008, at 7:54 AM, Jeroen van Bergen wrote:

>
>
>
> 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: http://www.nabble.com/Consumer-not-consuming-messages-tp15411975s2354p15450871.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Mime
View raw message