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