またはJersey Rest
に基づいてサービス応答を処理するにはどうすればよいですか? と他の評価者を混在させることはできますか? 私の例では、一部はメッセージ プロパティとその他の groovy を使用しています。201
503
groovy
<flow>
<http:outbound-endpoint address="${host}" exchange-pattern="request-response"/>
<when expression="message:INBOUND:http.status==201">
<flow-ref name=="flow2">
<when expression="message:INBOUND:http.status==503">
<flow-ref name="flow3">
<when expression="payload instanceof java.lang.SocketException" evaluator="groovy">
<flow-ref name="flow4">
</flow>