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 2020/01/08 22:55:20 UTC

[GitHub] [camel-k-runtime] nicolaferraro opened a new issue #222: Native support for CronJob: convert cron endpoints to fire once at startup

nicolaferraro opened a new issue #222: Native support for CronJob: convert cron endpoints to fire once at startup
URL: https://github.com/apache/camel-k-runtime/issues/222
 
 
   Related to https://github.com/apache/camel-k/issues/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` or `quartz` consumers at startup and immediately shutdown everything after the exchange is processed.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] lburgazzoli commented on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup
URL: https://github.com/apache/camel-k-runtime/issues/222#issuecomment-572441659
 
 
   Yes we do something similar for the `knative-source` where we fail if there is more than one route. Unfortunately the camel-main do not yet support exit the application in camel-quarkus (we need quarkus command mode to be implemented for that)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] lburgazzoli commented on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup
URL: https://github.com/apache/camel-k-runtime/issues/222#issuecomment-572301194
 
 
   We should probably introduce a concept of source customizer/trait so we can apply multiple traits to ta source in a consistent way

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] davsclaus commented on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup
URL: https://github.com/apache/camel-k-runtime/issues/222#issuecomment-572430615
 
 
   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).

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] lburgazzoli edited a comment on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup

Posted by GitBox <gi...@apache.org>.
lburgazzoli edited a comment on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup
URL: https://github.com/apache/camel-k-runtime/issues/222#issuecomment-572441659
 
 
   Yes we do something similar for the `knative-source` where we fail if there is more than one route. Unfortunately the camel-main do not yet support exit the application in camel-quarkus (we dependson  quarkus command mode to be implemented for that but it is not yet ready)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] lburgazzoli edited a comment on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup

Posted by GitBox <gi...@apache.org>.
lburgazzoli edited a comment on issue #222: Native support for CronJob: convert cron endpoints to fire once at startup
URL: https://github.com/apache/camel-k-runtime/issues/222#issuecomment-572441659
 
 
   Yes we do something similar for the `knative-source` where we fail if there is more than one route. Unfortunately the camel-main do not yet support exit the application in camel-quarkus (we need quarkus command mode to be implemented for that but it is not yet needed)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] nicolaferraro closed issue #222: Native support for CronJob: convert cron endpoints to fire once at startup

Posted by GitBox <gi...@apache.org>.
nicolaferraro closed issue #222: Native support for CronJob: convert cron endpoints to fire once at startup
URL: https://github.com/apache/camel-k-runtime/issues/222
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services