52.4. ブループリント XML の使用
<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>
<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>