activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fatcat <byf...@gmail.com>
Subject onMessage long execution
Date Mon, 23 Feb 2009 23:58:04 GMT

hi, 
i have a listener onMessage() that sometimes will take a while to
complete(expensive), so what happen seems like, while if there is a ongoing
onMessage is being executed, no other message will be processed by our code.
is that true that activeMQ only use on thread to dispatch the onMessage call
? is there any configuration parameter can be used such that, an expensive
onMessage execution will not block the other onMessage call?

Also not sure it is related, but if we send another activeMQ message to
another Q through the input's message's reply address, during a long
exeuction of onMessage, the reply message will never got received in the
other queue, although the send method is really being called.

any pointer?


-- 
View this message in context: http://www.nabble.com/onMessage-long-execution-tp22172993p22172993.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message