Allow passing options to PollingConsumer from outside
-----------------------------------------------------

                 Key: CAMEL-2019
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2019
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0.0
            Reporter: Dragisa Krsmanovic


I want something like:
...
.setHeader(Exchange.FILE_NAME).xpath("...")
.pollEnrich("file:/test/data", 10000)

But PollingConsumer API does not allow passing FILE_NAME from outside.

See 
http://www.nabble.com/pollEnrich-doesn%27t-look-for-FILE_NAME-ts25458854.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to