You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/02 13:59:20 UTC

[GitHub] [camel] dk2k opened a new pull request #6370: Proposed changes in the article on stopping a route programmatically

dk2k opened a new pull request #6370:
URL: https://github.com/apache/camel/pull/6370


   Hi guys,
   This article looks outdated.
   line 151 contains: exchange.getContext().stopRoute("myRoute");
   Meanwhile there is no method stopRoute(String) in org.apache.camel.CamelContext
   I suggest this call instead^
   exchange.getContext().getRouteController().stopRoute("myRoute");
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] davsclaus merged pull request #6370: Proposed changes in the article on stopping a route programmatically

Posted by GitBox <gi...@apache.org>.
davsclaus merged pull request #6370:
URL: https://github.com/apache/camel/pull/6370


   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] davsclaus merged pull request #6370: Proposed changes in the article on stopping a route programmatically

Posted by GitBox <gi...@apache.org>.
davsclaus merged pull request #6370:
URL: https://github.com/apache/camel/pull/6370


   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org