5 Replies Latest reply on May 7, 2008 7:03 AM by Tim Fox

    JBM 2 Consumer flow control.

    Andy Taylor Master

      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!