My broker is bloating with undelivered messages. What do I do?
When there are messages back-logged in the broker waiting to be sent to the subscribers, we see that the memory on our server (i.e. IMQ client) increases drastically. Why should the client's memory go up when messages are blocked on the broker?
We are facing a serious memory problem because of this issue. Please respond at your earliest.
The iMQ client memory would go up when it is receiving messages as fast as possible and there are lots of messages queued up on the broker. You may control the traffic on the client side by setting the flow control properties. This would limit the number of messages queued up on the client. For example,
java -DJMQFlowControlIsLimited=true -DJMQFlowControlLimit=#ofMessages SubscriberProg
#ofMessages above is the number of undelivered messages queued up on the client
side memory. This parameter w find more detailed explanation in the document in your iMQ installation directory.