You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Thomas Weinschenk <th...@infoserve.endress.com> on 2015/03/13 16:05:09 UTC

Quartz Component quartz.properties in Karaf

Hi all,

I am trying to configure the quartz scheduler of the Quartz Component via
the quarzt.properties in Karaf, but I have no glue where to put the file in
Karaf?

Regards,
Thomas



--
View this message in context: http://camel.465427.n5.nabble.com/Quartz-Component-quartz-properties-in-Karaf-tp5764099.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Quartz Component quartz.properties in Karaf

Posted by Willem Jiang <wi...@gmail.com>.
I think you can put the quartz.properties file into your application bundle or karaf etc directory.
You can specify quartz.properties file with relative path or absolute path (if you like) by calling QuartzComponent.setPropertiesFile() method just like this

context.getComponent("quartz", QuartzComponent.class).setPropertiesFile("org/apache/camel/routepolicy/quartz/myquartz.properties");		

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On March 13, 2015 at 11:05:58 PM, Thomas Weinschenk (thomas.weinschenk@infoserve.endress.com) wrote:
> Hi all,
>  
> I am trying to configure the quartz scheduler of the Quartz Component via
> the quarzt.properties in Karaf, but I have no glue where to put the file in
> Karaf?
>  
> Regards,
> Thomas
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Quartz-Component-quartz-properties-in-Karaf-tp5764099.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>