Using getIn or getOut methods on ExchangePage added by Claus IbsenUsing getIn or getOut methods on ExchangeThe Camel API is influenced by the JBI specification which defines a concept called Message Exchange Patterns (MEP for short). The MEP defines the messaging style used such as one-way (InOnly) or request-reply (InOut). The Exchange API provides two methods to get a message, either getIn or getOut.
The getOut method is only needed in special use cases and by certain Camel component such as the JBI or NMR components. If you use the getOut method, then data from the in message would be lost. For example several Camel end users who got started with Camel, couldn't understand why their message headers was lost during route in Camel. The problem was they used getOut method in a Camel Processor. They should as said use the getIn method.
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Camel > Using getIn or getOut methods on Excha... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence
- [CONF] Apache Camel > Using getIn or getOut methods on ... confluence