Jms queues are used for reliable messaging. In some scenarios requirement do come when we need to configure retry able Jms queues that means when something error out in transaction ,we want that it should retry the same message multiple times.
Follow below steps to configure retry able Jms queue.
- Go to your Jms queue.
- Go to "Deliver Failure" tab.
- Fill required values
Redelivery Delay Override : Time interval between retries. It is in milliseconds.
Redelivery Limit: number of retries
- Redirect : redirect message to different queue.
- Log : log the message.
- Discard : discard message and it will be lost.
Error Destination: If you choose "Redirect" then choose the queue to which you want to redirect message.