Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下使用骆驼交换发送出站消息的方法有什么区别:
e.getIn().setBody(body) e.getOut().setBody(body) e.setOut(out);
InOut 交换模式到底是做什么的?我的意思是我知道它是默认的 ExchangePattern 并且调用者希望得到回复..我如何设置回复..我对此有点模糊。APi javadocs 帮助不大:(
谢谢你
请参阅常见问题解答 http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html