camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-10142) ScheduledPollingConsumer properties
Date Fri, 15 Jul 2016 10:37:20 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-10142:
-----------------------------------

    Assignee: Claus Ibsen

> ScheduledPollingConsumer properties
> -----------------------------------
>
>                 Key: CAMEL-10142
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10142
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.17.1
>            Reporter: Colin Hartley
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> 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&amp;scheduler.triggerId=?"
/>
> Discussion with Claus Ibsen here: http://camel.465427.n5.nabble.com/ScheduledPollingConsumer-properties-td5785071.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message