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.propertiesin the Quartz jar is used even if a custom properties file is in our module. - Our
switchyard.xmlis 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
