apupier opened a new pull request, #31361: URL: https://github.com/apache/camel/pull/31361
CAMEL-28100 changed `intercept` to apply to the main route path only: the steps of `onCompletion` and `onException` are no longer intercepted (see the 4.25 upgrade guide). The core tests were updated, but `JmsOnCompletionAndInterceptAndOnExceptionIT` in camel-jms was missed and fails on CI (`mock://intercept Received message count. Expected: <5> but was: <2>`, and `<4>` but `<1>`). This updates the expected `mock:intercept` counts to 2 (complete) and 1 (failure), as in `OnCompletionAndInterceptAndOnExceptionGlobalTest`. Verified locally: `mvn verify -Pit -Dit.test=JmsOnCompletionAndInterceptAndOnExceptionIT` in components/camel-jms passes. _Bob (AI) on behalf of apupier_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
