The Mule application has stopped consuming messages, and this issue persists even after a restart. The number of inflight messages remains constant, indicating that these messages are not being released for hours.
This behavior can occur when the acknowledgment timeout for the queue or MQ subscriber operation is set to an extended duration (i.e., hours). While the maximum acknowledgment timeout can be configured to 12 hours, it is strongly discouraged to set the timeout to 2 or 3 hours or more. When the acknowledgment timeout is excessively high, inflight messages may remain in the inflight for hours before being returned to the queue for reprocessing.
It is crucial to understand the implications of setting a high acknowledgment timeout. The default acknowledgment timeout is set to 2 minutes, and it is generally recommended to adjust this value only when necessary, typically to durations like 3, 5, or 10 minutes, to avoid unnecessary message reprocessing.
For best practices, consider keeping the acknowledgment timeout to a more reasonable duration. Setting the acknowledgment timeout to several hours (e.g., 7 or 10 hours) is quite abnormal and may result in messages remaining in inflight status for an extended period if the consumer does not issue ACK or NACK calls.
For additional information, please refer to the following link: Anypoint MQ Message Getting Processed Twice.
003545027

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.