THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
{snippet:id=e1|lang=java|url=camel/trunk/camel-core/src/test/java/org/apache/camel/processor/OnCompletionOnFailureOnlyTest.java} |
You can identify if the Exchange is an onCompletion Exchange as Camel will add the property Exchange#ON_COMPLETION
with a boolean value of true
when it spin offs the onCompletion Exchange.
Using onCompletion from Spring DSL
...