You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by gilboy <jo...@gmail.com> on 2013/03/11 17:15:27 UTC

Camel quartz component query

Hi

Assume I have a route which is using the quartz component(using the quartz
database store). 

Is it possible at runtime to add new triggers. In other words, assume I have
an ad-hoc route that I want to execute. If I configure this route to use the
quartz component with the quartz database store. Can I now add ad-hoc new
triggers to the database at runtime which will result in the route getting
executed

Thanks
Joe



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-quartz-component-query-tp5728942.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel quartz component query

Posted by cheekychops <sm...@hotmail.com>.
I expect that if you configured quartz to use a clustered jobstore, and
connected to the same database with another quartz instance you could add
more triggers, but I don't think the Quartz Component was really designed to
work this way.

Note that its not recommended to insert triggers directly into the database,
you should use the Quartz API.



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-quartz-component-query-tp5728942p5729086.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel quartz component query

Posted by Willem jiang <wi...@gmail.com>.
Hi,

Camel has the management API[1], which could be used to start or stop the route.
I think you can leverage this API to start a route from the trigger.

[1]http://camel.apache.org/management-example.html  

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Tuesday, March 12, 2013 at 12:15 AM, gilboy wrote:

> Hi
>  
> Assume I have a route which is using the quartz component(using the quartz
> database store).  
>  
> Is it possible at runtime to add new triggers. In other words, assume I have
> an ad-hoc route that I want to execute. If I configure this route to use the
> quartz component with the quartz database store. Can I now add ad-hoc new
> triggers to the database at runtime which will result in the route getting
> executed
>  
> Thanks
> Joe
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-quartz-component-query-tp5728942.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).