On 06/14/2013 12:41 AM, Rajesh Khan wrote:
While going through some QPID code I wanted to know if the Receiver Class
in QPID is thread safe (i.e) Any drawbacks if multiple threads access it at
the same time ?

It is intended to be threadsafe. Occasionally of course there are bugs, e.g. https://issues.apache.org/jira/browse/QPID-4786 or https://issues.apache.org/jira/browse/QPID-4764.

However, I'm not convinced there is generally a great deal of benefit in having multiple threads fetching from the same receiver (or indeed the same session). I myself would probably aim for a design that had a thread per session, unless there was a clear reason not to.



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

Reply via email to