suzannebecker-toast opened a new pull request #6881: URL: https://github.com/apache/camel/pull/6881
**What/How** Support suspension on routes that consume from Pulsar endpoints by [pausing](https://pulsar.apache.org/api/client/org/apache/pulsar/client/api/Consumer.html#pause--)/resuming the route's Pulsar consumer(s) when the route is suspended or resumed. Paused consumers stop* requesting messages from the broker (*after exhausting their receiver queue), but are still able to communicate with the broker, for example to ack messages already received. **Why** Previously, suspending a Pulsar route was the same as stopping it. When a route was suspended or stopped, all its Pulsar consumers would be closed immediately. As a result, in-flight exchanges on that route could not complete, because the Pulsar consumers could not ack messages when in a closed state. -- Also increase `maven-failsafe-plugin`'s test process timeout (`forkedProcessTimeoutInSeconds`) to 600s from 300s to allow enough time for camel-pulsar integration tests to complete. Current build duration: ~6 minutes ---- - [x] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [x] Each commit in the pull request should have a meaningful subject line and body. - [x] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically. Below are the contribution guidelines: https://github.com/apache/camel/blob/main/CONTRIBUTING.md -- 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]
