https://issues.apache.org/activemq/browse/CAMEL-2019
On Wed, 2009-09-16 at 18:06 +0200, Claus Ibsen wrote: > I actually think you hit a shortcoming of the PollingConsumer API. > This API does not support supplying options from outside. > Could you create a JIRA ticket then we can have a look at in how to > provide such a new feature to this API. > > Instead of the pollEnrich you can use a processor/bean etc. where you > use the consumer template which supports you to dynamic set the > endpoint URI. > In which this endpoint URI should contain a fileName option which the > file you want to read. > > > See more here: > http://camel.apache.org/polling-consumer.html > -- Dragisa Krsmanovic Java Developer Public Library of Science http://www.plos.org