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

Claus Ibsen commented on CAMEL-12257:
-------------------------------------

Some tips

You can turn off quartz to start its scheduler on the component

You can tell Camel to not start any of the routes, and then you can start them 
manually

You can use advice-with during test to change the input of routes to something 
else than quartz2

> 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
(v7.6.3#76005)

Reply via email to