Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1624

Need feature to invoke a specific method in Quartz Gateway

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.8
    • Fix Version/s: None
    • Component/s: component-camel
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hisao.furuichi hisao furuichi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: