Re: Consumer not consuming messages

2008-02-16 Thread Jeroen van Bergen
James.Strachan wrote: > >>Do you just do one call to receiveNoWait() then nothing else? It >>sometimes takes up to a second for the first message to arrive? > It was a repeated call in a loop. The problem has been resolved. I'm not quite sure what the root cause was, but after some experiments

Re: Consumer not consuming messages

2008-02-13 Thread James Strachan
On 13/02/2008, Jeroen van Bergen <[EMAIL PROTECTED]> 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 J

Re: Consumer not consuming messages

2008-02-13 Thread Rob Davies
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

Re: Consumer not consuming messages

2008-02-12 Thread Jeroen van Bergen
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

Re: Consumer not consuming messages

2008-02-12 Thread wha
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. Jeroen van Bergen wrote: > > > The producer is happily producing messages. I can browse them using the web f

Re: Consumer not consuming messages

2008-02-12 Thread Jeroen van Bergen
>>> The producer is happily producing messages. I can browse them using the >>> web >>> front end supplied with ActiveMQ. When I add a QueueBrowser to the >>> consuming >>> class it can see the messages in the queue. The consumer is not picking >>> up >>> any message at all. > >>Have you hit th

Re: Consumer not consuming messages

2008-02-11 Thread David Siefert
LOL! I had just finished writing a test that uses a QueueBrowser and had the same problem, so based on the prior issue I posted I put in a start() connection and it worked. On Feb 11, 2008 9:12 AM, James Strachan <[EMAIL PROTECTED]> wrote: > On 11/02/2008, Jeroen van Bergen <[EMAIL PROTECTED]>

Re: Consumer not consuming messages

2008-02-11 Thread James Strachan
On 11/02/2008, Jeroen van Bergen <[EMAIL PROTECTED]> wrote: > > I'm running a very basic instance of AMQ 5.0.0: just the supplied sample > configuration, starting the broker with bin\activemq. My client application > (Java SE) produces and consumes messages on a single queue. Both the > producer an