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

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

GitBox
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:
[hidden email]


With regards,
Apache Git Services
Reply | Threaded
Open this post in threaded view
|

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

GitBox
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:
[hidden email]


With regards,
Apache Git Services
Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox
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:
[hidden email]


With regards,
Apache Git Services
Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox
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:
[hidden email]


With regards,
Apache Git Services
Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox
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:
[hidden email]


With regards,
Apache Git Services
Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox
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:
[hidden email]


With regards,
Apache Git Services
Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox
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:
[hidden email]


With regards,
Apache Git Services