On 6/14/06, ENP <[EMAIL PROTECTED]> wrote:

Hi,

Is it possible to use one connection to AMQ for parallel message consume and
produce (3 consumer theads and 2 producer threads, for example) with one
queue?

Yes. Strictly speaking each producer being used concurrently should be
using a separate session (though in ActiveMQ it'll probably work if
you just use one session for all publishers). For concurrent
consumption create a session per consumer - as all messages are
despatched to a session in a single thread - but you can have as many
sessions as you like per connection.

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to