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.
you need to configure your queues t either PAGE, BLOCK or DROP depending on what resources you have. look at the user manual to see how to do this.