Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Navigate to <MB_HOME>/repository/conf/advanced/ folder and edit following entry.

Code Block
languagejavahtml/xml
<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
languagejavahtml/xml
<!--Broker will drop the message after the configured number of delivery attempts for each message.-->
	    <maximumNumberOfMessageDeliveryAttempts>10</maximumNumberOfMessageDeliveryAttempts>

...