Shashank Mugatkar created CAMEL-19431:
-----------------------------------------
Summary: camel-core using a thread to stop a route from a route
Key: CAMEL-19431
URL: https://issues.apache.org/jira/browse/CAMEL-19431
Project: Camel
Issue Type: Bug
Components: came-core
Reporter: Shashank Mugatkar
[How can I stop a route from a route :: Apache
Camel|https://camel.apache.org/manual/faq/how-can-i-stop-a-route-from-a-route.html]
The technique shown in the official documentation doesn't work when I have
multiple messages to be routed.
When I try to suspend a camel route using the technique shown in the
documentation, it doesn't stop the route because it is
"Waiting as there are still 2 inflight and pending exchanges to complete,
timeout in 45 seconds. Inflights per route: [route-1 = 2]"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)