[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBM 2 Consumer flow control.

ataylor do-not-reply at jboss.com
Wed May 7 06:22:09 EDT 2008


Here is the problem.

I have 1 MessageProducer and 1 MessageListener.
The MessageProducer sends messages as fast as it can to a queue and the listener receives from the queue. At the point that the producer stops sending messages the listener stops receiving  even if the all the messages haven't been delivered. If i disable consumer flow control (by setting to -1) then this does not happen.

The consumer will start receiving messages again once there are more available tokens, tokens are added on receipt of a message. however it looks like even tho delivery is prompted on receipt of a message the delivery of messages isn't restarted.

I'll investigate further!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149050#4149050

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149050



More information about the jboss-dev-forums mailing list