Hi.
To create a message, I want to invoke a specific class's method whenever Quartz gateway sends a message. With JBoss-esb, I can write following sample code. org.jboss.soa.esb.sample.quickstart.camelesbschedule.SimpleBean.getOutput() will return String object.
~~
<camel-gateway name="gateway1">
<from uri="esbschedule:5000:class:org.jboss.soa.esb.samples.quickstart.camelesbschedule.SimpleBean?method=getOutput"/>
</camel-gateway>
~~
With SwitchYard, I can not specify any method in a <quartz> tag. Here is what I got so far.
~~
<service name="gateway1" promote="gateway1s">
<quartz:binding.quartz xmlns:quartz="urn:switchyard-component-camel-quartz:config:1.0">
<quartz:name>Every5SecondJob</quartz:name>
<quartz:cron>0/5 * * * * ?</quartz:cron>
</quartz:binding.quartz>
</service>
~~
Please consider to implement this feature.
Thx
|