...
Navigate to <MB_HOME>/repository/conf/advanced/ folder and edit following entry.
Code Block | ||
---|---|---|
| ||
<waitTimes> <!-- Max wait time(in seconds) for a acknowledgement for a given message from the client --> <maxAckWaitTime>10</maxAckWaitTime> |
...
There may be a practical scenario where we use "CLIENT_ACKNOWLEDGE" mode or JMS transactions where the client application does not acknowledge the message if some operation on the message fails. If a particular message is being failed at the client side again and again, there should be a way to remove that message from the system after a defined number of message re-deliveries has breached. This is an added functionality to WSO2 Message Broker. To configure this edit following entry in qpid-config.xml file:
Code Block | ||
---|---|---|
| ||
<!--Broker will drop the message after the configured number of delivery attempts for each message.--> <maximumNumberOfMessageDeliveryAttempts>10</maximumNumberOfMessageDeliveryAttempts> |
...