Versions Compared

Key

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

...

Camel 1.6.1: The response from iBatis will be set as OUT body
Camel 1.6.2/2.0: The response from iBatis will only be set as body if its a SELECT statement. That means for example for INSERT statements Camel will not replace the body. This allows you to continue routing and keep the original body. The response from iBatis is always stored in the header with the key CamelIBatisResponse CamelIBatisResult.

Samples

For example if you wish to consume beans from a JMS queue and insert them into a database you could do.

...