Hello,
we would like to persist information (the URIs) of the Route the message was
sent to.
My Route Definition:
<camel:camelContext id="camel">
<camel:route>
<camel:from uri="jms:jms/MessageDispatcherQueue" />
<camel:transacted ref="PROPAGATION_REQUIRED" />
<camel:to uri="mqseries:tbextsys.mqseries.yereports"/>
<camel:to uri="mqseries:tbflow.mqseries.yereports"/>
<camel:transform>
<camel:method bean="TMDMESSAGEConverter" method="doTransform" />
</camel:transform>
<camel:to uri="jpa:entity.TMDMessage"/>
</camel:route>
</camel:camelContext>
The Message is read from a Queue (jms/MessageDispatcherQueue) and is sent to
different Queues (tbextsys.mqseries.yereports and
tbflow.mqseries.yereports). After that we persist the Message-Body. The
Message-Body contains XML-Data. We also would like to persist the
Endpoint-URIs the Message was sent to. In these case the information, that
the Message was sent to tbextsys.mqseries.yereports and
tbflow.mqseries.yereports. Is there a way to do that?
My Route-Definition in my example is static. In future we want to do it more
dynamically.
Thanks for your help!
Regards,
Bernd
--
View this message in context:
http://www.nabble.com/Persist-information-%28the-URIs%29-of-the-Route-the-message-was-sent-to-tp25531018p25531018.html
Sent from the Camel - Users mailing list archive at Nabble.com.