[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBM 2 Consumer flow control.
ataylor
do-not-reply at jboss.com
Wed May 7 06:59:51 EDT 2008
yeah ive been looking at this, i have noticed that promptDelivery is called in a a different thread i.e.
public void promptDelivery(final Queue queue)
| {
| // TODO - do we really need to prompt on a different thread?
| executor.execute(new Runnable()
| {
| public void run()
| {
| queue.deliver();
| }
| });
| }
if i change this the problem goes away, maybe this is causing a race condition!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149059#4149059
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149059
More information about the jboss-dev-forums
mailing list