[ 
https://issues.apache.org/jira/browse/CAMEL-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964648#action_12964648
 ] 

Claus Ibsen commented on CAMEL-3372:
------------------------------------

Yes

Or you can use
{code}
onCompletion.onFailureOnly().process(new MyFailureProcessor()).end();
{code}

Then that will only run if the exchange failed.

> file component - onMoveFailed - should keep the exchange marked as failed, so 
> onCompletion etc can react on failures
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3372
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3372
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/onCompletion-for-failed-exchanges-tp3281388p3281388.html

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