- 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.
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>
- Red Hat JBoss Fuse Service Works (FSW)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.