On 21/06/2010, João Tiago Ferreira <[email protected]> wrote:
> Hi
>
>  Patch for JMS Queue receiver in 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49482

Thanks, I've had a brief look at the code.

>  The great difference from Topic Subscriber is the cleaning of resources and 
> is impossibility of choosing the client method to use.

What do you mean - choosing the client method to use?

>  Instead of cleaning the Receivers in the end of the test they are cleaned at 
> the end of the sample. I had problems with the initial approach, when running 
> test with multiple clients, the 1st client was receiving all the messages. 
> This behavior worked in topics because the delivery semantics are different 
> publish/subscribe vs point-to-point.


AIUI, queues are supposed to have a single reader and one or more
writers. Is that correct?

If so, then using multiple samplers for the same queue would mean that
the queue must be handed off between samplers, so only one uses it at
a time.

I'm not sure that it makes sense for a single queue to be shared
between multiple threads.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to