You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Andreas Asmuss (JIRA)" <ji...@apache.org> on 2010/06/16 10:54:51 UTC
[jira] Created: (CAMEL-2823) Cron expressions as option in 'from'
URIs.
Cron expressions as option in 'from' URIs.
------------------------------------------
Key: CAMEL-2823
URL: https://issues.apache.org/activemq/browse/CAMEL-2823
Project: Apache Camel
Issue Type: Improvement
Reporter: Andreas Asmuss
Fix For: 2.4.0
Many endpoints have a "delay" option. There should also be the option to use a cron-expression directly in the URI.
This would mean that batch-endpoints like file/ftp could fetch a batch of files per "cron-trigger" instead of enriching a single quartz message with a the payload of a single file.
This would also mean that one wouldn't have to do workarounds trying to handle route lifecycles manually like here:
http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-td476108.html#a476108
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2823) Cron expressions as option in 'from'
URIs.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60098#action_60098 ]
Claus Ibsen commented on CAMEL-2823:
------------------------------------
Its on the roadmap for the future.
We will introduce a DSL so you can define a nice way of specifying the scheduling.
Also the CRON parsers must be pluggable so you can use Spring CRON or Quartz CRON etc. So its not super easy to implement.
However its most likely not on the 2.4 timeframe as we got major goals with OSGi and Async stuff to work with.
> Cron expressions as option in 'from' URIs.
> ------------------------------------------
>
> Key: CAMEL-2823
> URL: https://issues.apache.org/activemq/browse/CAMEL-2823
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Andreas Asmuss
> Assignee: Claus Ibsen
> Fix For: Future
>
>
> Many endpoints have a "delay" option. There should also be the option to use a cron-expression directly in the URI.
> This would mean that batch-endpoints like file/ftp could fetch a batch of files per "cron-trigger" instead of enriching a single quartz message with a the payload of a single file.
> This would also mean that one wouldn't have to do workarounds trying to handle route lifecycles manually like here:
> http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-td476108.html#a476108
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-2823) Cron expressions as option in 'from'
URIs.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-2823:
-------------------------------
Issue Type: New Feature (was: Improvement)
> Cron expressions as option in 'from' URIs.
> ------------------------------------------
>
> Key: CAMEL-2823
> URL: https://issues.apache.org/activemq/browse/CAMEL-2823
> Project: Apache Camel
> Issue Type: New Feature
> Reporter: Andreas Asmuss
> Fix For: Future
>
>
> Many endpoints have a "delay" option. There should also be the option to use a cron-expression directly in the URI.
> This would mean that batch-endpoints like file/ftp could fetch a batch of files per "cron-trigger" instead of enriching a single quartz message with a the payload of a single file.
> This would also mean that one wouldn't have to do workarounds trying to handle route lifecycles manually like here:
> http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-td476108.html#a476108
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-2823) Cron expressions as option in 'from'
URIs.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-2823:
----------------------------------
Assignee: (was: Claus Ibsen)
> Cron expressions as option in 'from' URIs.
> ------------------------------------------
>
> Key: CAMEL-2823
> URL: https://issues.apache.org/activemq/browse/CAMEL-2823
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Andreas Asmuss
> Fix For: Future
>
>
> Many endpoints have a "delay" option. There should also be the option to use a cron-expression directly in the URI.
> This would mean that batch-endpoints like file/ftp could fetch a batch of files per "cron-trigger" instead of enriching a single quartz message with a the payload of a single file.
> This would also mean that one wouldn't have to do workarounds trying to handle route lifecycles manually like here:
> http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-td476108.html#a476108
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (CAMEL-2823) Cron expressions as option in 'from'
URIs.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reopened CAMEL-2823:
--------------------------------
> Cron expressions as option in 'from' URIs.
> ------------------------------------------
>
> Key: CAMEL-2823
> URL: https://issues.apache.org/activemq/browse/CAMEL-2823
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Andreas Asmuss
> Assignee: Claus Ibsen
> Fix For: Future
>
>
> Many endpoints have a "delay" option. There should also be the option to use a cron-expression directly in the URI.
> This would mean that batch-endpoints like file/ftp could fetch a batch of files per "cron-trigger" instead of enriching a single quartz message with a the payload of a single file.
> This would also mean that one wouldn't have to do workarounds trying to handle route lifecycles manually like here:
> http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-td476108.html#a476108
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2823) Cron expressions as option in 'from'
URIs.
Posted by "Andreas Asmuss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60095#action_60095 ]
Andreas Asmuss commented on CAMEL-2823:
---------------------------------------
Alright, my bad.
Is it on its way? It should be a pretty normal use case that I can't find any solution for.
> Cron expressions as option in 'from' URIs.
> ------------------------------------------
>
> Key: CAMEL-2823
> URL: https://issues.apache.org/activemq/browse/CAMEL-2823
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Andreas Asmuss
> Assignee: Claus Ibsen
> Fix For: Future
>
>
> Many endpoints have a "delay" option. There should also be the option to use a cron-expression directly in the URI.
> This would mean that batch-endpoints like file/ftp could fetch a batch of files per "cron-trigger" instead of enriching a single quartz message with a the payload of a single file.
> This would also mean that one wouldn't have to do workarounds trying to handle route lifecycles manually like here:
> http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-td476108.html#a476108
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (CAMEL-2823) Cron expressions as option in 'from'
URIs.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen closed CAMEL-2823.
------------------------------
Assignee: Claus Ibsen
Fix Version/s: Future
(was: 2.4.0)
Resolution: Duplicate
Andreas we already got a couple of tickets on this matter to have CRON style scheduling for consumers which supports scheduling.
> Cron expressions as option in 'from' URIs.
> ------------------------------------------
>
> Key: CAMEL-2823
> URL: https://issues.apache.org/activemq/browse/CAMEL-2823
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Andreas Asmuss
> Assignee: Claus Ibsen
> Fix For: Future
>
>
> Many endpoints have a "delay" option. There should also be the option to use a cron-expression directly in the URI.
> This would mean that batch-endpoints like file/ftp could fetch a batch of files per "cron-trigger" instead of enriching a single quartz message with a the payload of a single file.
> This would also mean that one wouldn't have to do workarounds trying to handle route lifecycles manually like here:
> http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-td476108.html#a476108
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.