Versions Compared

Key

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

...

In ServiceMix you can access the JBI message properties as a Map and work natively with it in Groovy using various mechanisms. e.g.

...

Code Block
// lets output some XML using GroovyMarkup
outMessage.body = builder.hello(version:1.2) {
  world(location:'London')
}

Examples

You can see all of the above mechanims in use in this test case and XML config file.