254.3. quartz.properties ファイルの設定
デフォルトでは、Quartz はクラスパスの org/quartz ディレクトリーで quartz.properties ファイルを検索します。WAR デプロイメントを使用している場合は、WEB-INF/classes/org/quartz で quartz.properties を削除するだけです。
しかし、Camel Quartz コンポーネントでは、プロパティーを設定することもできます。
| パラメーター | デフォルト | Type | 説明 |
|---|---|---|---|
|
|
|
|
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>