1 Reply Latest reply on May 5, 2012 5:59 AM by ataylor

    JBoss hangs due to full queue

    haroonfoad

      I have an application which sends messages to the queue continuously.

      When the subscriber is not working, the queue get full as the publisher continue to send messages which causes the JBoss to collapse or hang.

       

      The question is:

      How can I know if the queue is full so the publisher stops sending messages until they get consumed by the subscriber ?

       

      Thanks.