Kamil commented on CAMEL-12257:

noAutoStartup indeed works for a single route. Two questions though:

1) How to disable all routes from quartz2 globally?

2) Why suspendRoute/stopRoute doesn't work?

> Possibility to disable quartz2 route during testing
> ---------------------------------------------------
>                 Key: CAMEL-12257
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12257
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-quartz2
>    Affects Versions: 2.20.2
>            Reporter: Kamil
>            Priority: Major
> While running integration tests, most of our components are mocked, but for 
> now there is no possibility to completly disable quartz2 routes.
> My suggestion is to provide additional option "execute" which defaults to 
> "true", but we can set it to "false" in tests. If this option is set to false 
> - the route doesn't fire at all.
> It could be also nice (as an additional feature) to disable firing quartz2 
> routes CamelContext-wide

This message was sent by Atlassian JIRA

Reply via email to