You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/06/29 13:33:29 UTC

[jira] [Created] (CAMEL-4163) Allow polling consumer to accept parameters such as a header with a file name to poll

Allow polling consumer to accept parameters such as a header with a file name to poll
-------------------------------------------------------------------------------------

                 Key: CAMEL-4163
                 URL: https://issues.apache.org/jira/browse/CAMEL-4163
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.9.0


I want something like:
{code}
.setHeader(Exchange.FILE_NAME).xpath("...")
.pollEnrich("file:/test/data", 10000)
{code}
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4163) Allow polling consumer to accept parameters such as a header with a file name to poll

Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-4163:
-------------------------------

    Fix Version/s:     (was: 2.9.0)
                   2.10
    
> Allow polling consumer to accept parameters such as a header with a file name to poll
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4163
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4163
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.10
>
>
> I want something like:
> {code}
> .setHeader(Exchange.FILE_NAME).xpath("...")
> .pollEnrich("file:/test/data", 10000)
> {code}
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira