Changes in Camel Route
Commands
Usage
1.1.5.5
<route id="packet-classifier-->quality-checker new route">
<from uri="eventbus:packet-classifier-new-bus-out" />
<log
message="packet-classifier-->quality-checker new route ${bodyAs(String)}" />
<choice>
<when>
<simple>${bodyAs(String)} contains '"isValid":true'</simple>
<to uri="eventbus:quality-checker-bus-in" />
</when>
<when>
<simple>${bodyAs(String)} contains '"isValid":false' and ${bodyAs(String)} contains '"internalError":false'</simple>
<to uri="eventbus:message-sender-bus-in" />
</when>
<when>
<simple>${bodyAs(String)} contains '"internalError":true'</simple>
<to uri="eventbus:retry-bus-in" />
</when>
<otherwise>
<to uri="eventbus:error-bus-in" />
</otherwise>
</choice>
</route>1.2.0.1
1.1.5.5
1.2.0.1
1.1.5.5
1.2.0.1
Last updated
Was this helpful?