camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7140) camel-quartz - loading properties file should support file path
Date Fri, 17 Jan 2014 16:54:19 GMT
Claus Ibsen created CAMEL-7140:
----------------------------------

             Summary: camel-quartz - loading properties file should support file path
                 Key: CAMEL-7140
                 URL: https://issues.apache.org/jira/browse/CAMEL-7140
             Project: Camel
          Issue Type: Improvement
          Components: camel-quartz, camel-quartz2
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.12.3, 2.13.0


If you want to configure quartz component to load a .properties file from the file system,
then its not as easy.

Its loaded by default from classpath, so you get errors like this

Caused by: org.quartz.SchedulerException: Quartz properties file not found in classpath: file:./etc/myquartz.properties
	at org.apache.camel.component.quartz2.QuartzComponent.loadProperties(QuartzComponent.java:187)[



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message