The second publisher can send at the same time - there will be synchronization points in the broker around writing the message to disk - but apart from that the publish() will be interlaced. Have a look at http://fusesource.com/wiki/display/ProdInfo/Understanding+the+Threads+Allocated+in+ActiveMQ - to get some insight to the usage of threads

On 1 Feb 2010, at 11:56, lernit2007 wrote:


Hello,

if a producer send messages to a queue, it is then possible that second producer can send messages at the same time in the same queue or is the queue blocked until the first producer end with the send messages to queue?


Thanks im behaviour
--
View this message in context: 
http://old.nabble.com/Block-Queue-tp27403065p27403065.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/





Reply via email to