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.

Reply via email to