Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

If you decide to use the getOut method and want to keep headers, attachments and the likes, then you must manually copy those information from the in to the out message.