[ 
https://issues.apache.org/jira/browse/CAMEL-10596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892338#comment-15892338
 ] 

Claus Ibsen commented on CAMEL-10596:
-------------------------------------

It would be good to be able to shutdown Spring Boot in starter-web also. But I 
am not sure how to signal that to Spring so it shutdown tomcat/undertow as well.

> RoutePolicy - To easily stop routes after X messages or time
> ------------------------------------------------------------
>
>                 Key: CAMEL-10596
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10596
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.19.0
>
>
> Sometimes people want to run a Camel route for 1 message, or until there are 
> no more new messages, or stop after X seconds etc.
> We should provide some basic route policy / factory that people can use, and 
> easily configure. And we can then add the logic to safely stop the routes 
> while running, which can be a little tricky
> http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to