[ 
https://issues.apache.org/activemq/browse/CAMEL-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40043
 ] 

James Strachan commented on CAMEL-123:
--------------------------------------

have added a UnitOfWork object on an Exchange which can act as the registration 
point for onComplete / onFailure callbacks - it just needs to be wired into the 
sync/async processing changes Hiram made yesterday

> add an 'on commit / on rollback' hook so that non-transactional components 
> can do things like delete files when the processing has completed
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-123
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-123
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.2.0
>
>
> e.g. file / FTP should only delete the file after successful processing has 
> occurred etc

-- 
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