You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Sebastien Marc <se...@mscibarra.com> on 2007/01/08 17:50:38 UTC
Messages are not being handled concurrently when no listener
Hi all,
My apologies if this issue is already known but i could not find it in this
forum.
I am writing a server handling multiple requests with Active MQ 4.0.1. When
the server starts, 4 threads are listening to the same queue.
If the server first starts, when 2 requests are posted to the queue, both
messages are waking 2 of the 4 waiting threads up. Behavior is perfect.
However, if i post the same requests without having started the server, and
then if i start the server, the two requests are getting processed
sequentially by a single thread.
Is this behavior known by any of you guys ?, and if so, is there a way to
handle the 2 requests concurrently even if they are posted before the server
is up ?.
Many thanks for any response.
Seb.
--
View this message in context: http://www.nabble.com/Messages-are-not-being-handled-concurrently-when-no-listener-tf2940450.html#a8221571
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Messages are not being handled concurrently when no listener
Posted by James Strachan <ja...@gmail.com>.
This is a known issue...
http://incubator.apache.org/activemq/i-do-not-receive-messages-in-my-second-consumer.html
On 1/8/07, Sebastien Marc <se...@mscibarra.com> wrote:
>
> Hi all,
>
> My apologies if this issue is already known but i could not find it in this
> forum.
>
> I am writing a server handling multiple requests with Active MQ 4.0.1. When
> the server starts, 4 threads are listening to the same queue.
> If the server first starts, when 2 requests are posted to the queue, both
> messages are waking 2 of the 4 waiting threads up. Behavior is perfect.
>
> However, if i post the same requests without having started the server, and
> then if i start the server, the two requests are getting processed
> sequentially by a single thread.
>
> Is this behavior known by any of you guys ?, and if so, is there a way to
> handle the 2 requests concurrently even if they are posted before the server
> is up ?.
>
> Many thanks for any response.
>
> Seb.
>
> --
> View this message in context: http://www.nabble.com/Messages-are-not-being-handled-concurrently-when-no-listener-tf2940450.html#a8221571
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/