consumer
and restart a new one, the consumer can receive the previous message
sucessfully. But after a period of time, the consumer cant receive the
message again.
Thanks for any ideas on what my problem is.
harry
--
View this message in context:
http://old.nabble.com/consumer-not-consuming
text:
http://www.nabble.com/Consumer-not-consuming-messages-tp15411975s2354p15516840.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
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
ueue.
--
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.
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.co
d why a QueueBrowser can see messages in the queue
> while a Consumer does not pick up any. The ActiveMQ logfile shows nothing
> special. Anything else I can look at?
>
--
View this message in context:
http://www.nabble.com/Consumer-not-consuming-messages-tp15411975s2354p15444805.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
wser can see messages in the queue
while a Consumer does not pick up any. The ActiveMQ logfile shows nothing
special. Anything else I can look at?
--
View this message in context:
http://www.nabble.com/Consumer-not-consuming-messages-tp15411975s2354p15439696.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
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
before the producer and they run in seperate threads
on a 1.6.0_03 Sun JVM on Windows XP Pro SP2.
What might be causing this behaviour? Do I have to supply credentials before
a consumer is allowed to actually consume messages?
Thanks in advance for any response.
--
View this message in context:
10 matches
Mail list logo