1 Reply Latest reply on Oct 13, 2009 7:51 AM by Tim Fox

    How to limit no. of messages for a Queue

    Bijith Kumar Master

      Hi,

      Is it possible to configure maximum no. of messages for a Queue? i.e. the server should not accept anymore messages once this limit is reached and the producer.send() should get blocked until some messages are consumed from the Queue.
      From the definition of 'Producer Flow Control' given in user manual, I got an impression that it serves the purpose, but it seems it is something different. I tried setting <producer-window-size>16</producer-window-size> and still were able to send 50K messages of size 8 Bytes. Any help is highly appreciated.

      Thanks
      Bijith