Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What happens to a message that is rolled back or recovered?

happens message Recovered
0
Posted

What happens to a message that is rolled back or recovered?

0

When a message is rolled back or recovered, it is requeued. Where it goes in the queue is a function of the message relative to the sort order for the queue and the other messages in the queue. In an unordered queue (most typical), the message would typically go at the head of the queue (since the queue is still sorted by arrival time – FIFO) unless some other message is being recovered at that same time, but still the sort order resolves any conflicts. The message is redelivered to the first available consumer as soon as possible. If there are no consumers when it is requeued, then it would just sit there until there is one. Starting in WLS 6.1, you can configure the maximum number of times that a message may be requeued. You can also specify a delay time before which the message will not be available after being requeued. If a message reaches its maximum requeue limit, it is put on an error destination if one is configured or silently dropped.

0

A. For more information about what occurs when a message is rolled back or recovered, refer to “Managing Rolled Back, Recovered, Redelivered, or Expired Messages” in Programming WebLogic JMS.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.