Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10142

ScheduledPollingConsumer properties

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.17.1
    • Fix Version/s: 2.17.3, 2.18.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      It appears that support for a named scheduled polling consumer is there, but you have to have at least one scheduler.xxx property set before it utilises it. e.g.

      I have this configured:
      <bean id="nps-scheduler" class="org.apache.camel.pollconsumer.quartz2.QuartzScheduledPollConsumerScheduler">
      <property name="cron" value="0 * * * * ?"/>
      </bean>

      In my route, I reference it like this, but it doesn't use it:
      <from uri="ftp://ftp.somewhere.com/path?scheduler=nps-scheduler" />

      If I add a scheduler property, it then uses it, e.g.
      <from uri="ftp://ftp.somewhere.com/path?scheduler=nps-scheduler&scheduler.triggerId=?" />

      Discussion with Claus Ibsen here: http://camel.465427.n5.nabble.com/ScheduledPollingConsumer-properties-td5785071.html

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              colin.hartley@datagenicgroup.com Colin Hartley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: