Apache骆驼拦截器

时间:2017-05-31 08:42:57

标签: java apache-camel

请帮我解决问题。我会在" endpoint1"之前拦截消息。但得到一个在交易所执行期间发生异常:Exchange [消息:[Body是org.apache.camel.StreamCache的实例]]

<interceptSendToEndpoint uri="endpoint_1">
  <transform>
    <method bean="logMessage" method="log"/>
  </transform>
</interceptSendToEndpoint>

<route id="xxx">
<from uri="yyy"/>
.
.
.
<to uri="endpoint_1" pattern="InOut"/>
</route>

0 个答案:

没有答案