-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native support for CronJob: convert cron endpoints to fire once at startup #222
Comments
We should probably introduce a concept of source customizer/trait so we can apply multiple traits to ta source in a consistent way |
Just mind if the user has both a timer/quartz route and a non cron like route in the same integration? I guess we need to check that this is the only route. Also you can set camel main, the max number of messages to process (eg set it to 1 to have camel main terminate after that 1 message). |
Yes we do something similar for the |
Fix #222: initial implementation of native cron support
Related to apache/camel-k#1182
We should implement via a pluggable runtime module a customizer/loader that, when activated, makes sure an integration fires a single execution of every
timer
orquartz
consumers at startup and immediately shutdown everything after the exchange is processed.The text was updated successfully, but these errors were encountered: