Re: Creating simple producer and consumer

2007-05-04 Thread James Strachan
On 5/4/07, Bai Shen <[EMAIL PROTECTED]> wrote: jlim wrote: > > For topics the consumer must be created first since messages are only > delivered to the available consumers at the time the broker receives the > message. > > For durable subscribers you can create a durable subscriber, kill it,

Re: Creating simple producer and consumer

2007-05-04 Thread Bai Shen
jlim wrote: > > For topics the consumer must be created first since messages are only > delivered to the available consumers at the time the broker receives the > message. > > For durable subscribers you can create a durable subscriber, kill it, > run the producer, then start the subscribe

Re: Creating simple producer and consumer

2007-05-03 Thread Jonas Lim
For topics the consumer must be created first since messages are only delivered to the available consumers at the time the broker receives the message. For durable subscribers you can create a durable subscriber, kill it, run the producer, then start the subscriber again. http://java.sun.co

Re: Creating simple producer and consumer

2007-05-03 Thread Bai Shen
Bai Shen wrote: > > > > James.Strachan wrote: >> >> Try looking at the queues & consumers in the broker >> http://activemq.apache.org/how-can-i-monitor-activemq.html >> >> -- >> James >> --- >> http://macstrac.blogspot.com/ >> >> > > I can see the topic in the console and the Enqueu

Re: Creating simple producer and consumer

2007-05-03 Thread Bai Shen
James.Strachan wrote: > > Try looking at the queues & consumers in the broker > http://activemq.apache.org/how-can-i-monitor-activemq.html > > -- > James > --- > http://macstrac.blogspot.com/ > > I can see the topic in the console and the Enqueue Count shows my messages. But I can't s

Re: Creating simple producer and consumer

2007-05-03 Thread James Strachan
Try looking at the queues & consumers in the broker http://activemq.apache.org/how-can-i-monitor-activemq.html On 5/3/07, Bai Shen <[EMAIL PROTECTED]> wrote: jlim wrote: > > Hi, > > Can you check if you're calling the connection's start method > (connection.start()) before starting your consu

Re: Creating simple producer and consumer

2007-05-03 Thread Bai Shen
jlim wrote: > > Hi, > > Can you check if you're calling the connection's start method > (connection.start()) before starting your consumers. > > You could also try running the example consumer that is included in the > distribution to check if the problem is with your consumer. > > Regards

Re: Creating simple producer and consumer

2007-05-02 Thread Jonas Lim
Hi, Can you check if you're calling the connection's start method (connection.start()) before starting your consumers. You could also try running the example consumer that is included in the distribution to check if the problem is with your consumer. Regards, Jonas Bai Shen wrote: Okay, s