THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
In this example we want to replace a message body with a claim check, and restore the body at a later step.
Using the Fluent Builders
Wiki Markup |
---|
{snippet:id=e1|lang=java|url=camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ClaimCheckTest.java} |
Using the Spring XML Extensions
Code Block | ||||
---|---|---|---|---|
| ||||
<route>
<from uri="direct:start"/>
<pipeline>
<to uri="bean:checkLuggage"/>
<to uri="mock:testCheckpoint"/>
<to uri="bean:dataEnricher"/>
<to uri="mock:result"/>
</pipeline>
</route>
|
The example route is pretty simple - its just a Pipeline. In a real application you would have some other steps where the mock:testCheckpoint
endpoint is in the example.
...