2 Replies Latest reply on Jul 30, 2013 10:16 AM by Hisao Furuichi

    Need feature to invoke a specific method in Quartz Gateway

    Hisao Furuichi Newbie



      I have a feature request about quartz gateway.

      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 as message.


      <camel-gateway name="gateway1">
      <from uri="esbschedule:5000:class:org.jboss.soa.esb.samples.quickstart.camelesbschedule.SimpleBean?method=getOutput"/>


      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:cron>0/5 * * * * ?</quartz:cron>


      By checking http://camel.apache.org/quartz, it looks like camel quartz component doesn't support it.

      Please consider to support this feature by SwitchYard. I opend a ticket(SWITCHYARD-1624) for this request.