2008/12/4 zunrise <[EMAIL PROTECTED]>:
>
> Hi,
>
> I'm very new to JMS and ActiveMQ. I have following problem. First I have
> started 10 consumers of one queue. Then I send 20 messages to the queue. The
> processing time of a message is approximatly 5seconds. But each message is
> consumed by the first consumer. Only if I start consumers after the messages
> are send, the broker will dispatch the messages also to the new created
> consumers. What I want is that the other 9 consumers from the beginning
> consume messages, too. Is it possible and how do I have to configure my
> system?

Please see the FAQ entry...
http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html

basically set prefetch to 1 or use 40,000 messages or more
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply via email to