Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Boon (v2.16 onwards)

Boon is a Data Format which uses the Boon  JSON marshalling JSON marshalling library to unmarshal an JSON payload into Java objects or to marshal Java objects into an JSON payload. Boon aims to be a simple and and fast parser than other common parsers currently used.

...

Code Block
<bean id="boonDataFormat" class="org.apache.camel.component.boon.BoonDataFormat">
  <argument value="com.acme.model.Person"/>
</bean>
 
<camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
  <route>
    <from uri="activemq:My.Queue"/>
    <unmarshal ref="boonDataFormat"/>
    <to uri="mqseries:Another.Queue"/>
  </route>
</camelContext>

Dependencies

Code Block
<dependency>

...


  <groupId>org.apache.camel</groupId>

...


  <artifactId>camel-boon</artifactId>

...


  <version>x.x.x</version>

...


</dependency>