Custom quartz.properties file is not loaded for SwitchYard Quartz binding in FSW 6
Issue
- We are using Quartz scheduler binding. The issue is, we cannot change the default Quartz properties.
- When a quartz scheduler being triggered, there are by default 10 threads spawned to do the task. We want to limit the number of threads that Quartz uses to something like
"org.quartz.threadPool.threadCount = 1"
. - However, the default
quartz.properties
in the Quartz jar is used even if a custom properties file is in our module. - Our
switchyard.xml
is as follows:
<sca:service name="SampleTimer" promote="SampleTimerBean/SampleTimer">
<sca:interface.java interface="com.example.switchyard.app.SampleTimer"></sca:interface>
<quartz:binding.quartz name="sampleTimer">
<sy:operationSelector operationName="sampleOp"></sy:operationSelector>
<quartz:name>sampleTimer</quartz:name>
<quartz:cron>* */15 * * * ?</quartz:cron>
</quartz:binding.quartz>
</sca:service>
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.