269.3. Quartz.properties ファイルの設定
デフォルトでは、Quartz はクラスパスの org/quartz
ディレクトリーにある Quartz.properties
ファイルを探します。WAR デプロイメントを使用している場合、これは、Quartz.properties を WEB-INF/classes/org/quartz
にドロップするだけであることを意味します。
ただし、Camel Quartz コンポーネントでは、プロパティーを設定することもできます。
パラメーター | デフォルト | タイプ | 説明 |
---|---|---|---|
|
|
|
Camel 2.4 : |
|
|
| Camel 2.4 : クラスパスからロードするプロパティーのファイル名 |
これを行うには、Spring XML で次のように設定できます。
<bean id="quartz" class="org.apache.camel.component.quartz.QuartzComponent"> <property name="propertiesFile" value="com/mycompany/myquartz.properties"/> </bean>