users@glassfish.java.net

Problems With Message Driven Bean Threading

From: <forums_at_java.net>
Date: Mon, 1 Aug 2011 17:24:19 -0500 (CDT)

 I have two Message Driven Beans, both listening on different queues. The
first MDB will pull from queue1 and perfrom some business logic and try to
read from a map. At the same tiem, the second MDB will read from queue 2 and
write to the map that the first MDB is trying to read from. I am having an
issue however, where the second MDB will not execute the onMessage until the
first MDB times out and returns. Only then will MDB2 enter the onMessage and
write to the map.

 

Thanks


--
[Message sent by forum member 'rpickens']
View Post: http://forums.java.net/node/828549