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 2009/04/03 11:16:35 UTC

[jira] Resolved: (CAMEL-1514) PollingConsumer should supports exchanges a callback to prepare it for being polled

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

Claus Ibsen resolved CAMEL-1514.
--------------------------------

    Resolution: Fixed

trunk: 761579

> PollingConsumer should supports exchanges a callback to prepare it for being polled
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-1514
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1514
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> The file based exchanges support lazy loading file content only demand. And in regular routing they are moved when the route ends.
> However when you use the polling consumer EIP pattern there is no route and thus the file consumer commits right after offering the exchange.
> And therefore with File the file is by default moved to a subfolder, or the end user can set it to be deleted etc.
> What we need is a {{PollingConsumerAware}} callback interface to allow the polling consumer to prepare for this by loading the file content.

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