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

Claus Ibsen commented on CAMEL-123:
-----------------------------------

UnitOfWork is only weaven into the route if you use the route builder.

For manual code such as creating a consumer from an endpoint will not inject 
the UoW

> 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: Claus Ibsen
>             Fix For: 2.0.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