You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by lekkie <le...@gmail.com> on 2009/11/28 09:29:57 UTC
Logging response going to JMS replyto queue
Hi People,
How do you ask camel to log the response going to a replyto queue?
See my sample config file below:
<osgi:camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from
uri="jms:queue:RequestQueue?replyTo=ResponseQueue" />
<convertBodyTo
type="javax.xml.transform.stream.StreamSource" />
<to uri="log:jmsMessagesLog" />
<bean ref="RecipientList" method="route" />
</route>
</osgi:camelContext>
kr.
--
View this message in context: http://old.nabble.com/Logging-response-going-to-JMS-replyto-queue-tp26545444p26545444.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Logging response going to JMS replyto queue
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Add a <to uri="log:foo"/> at the end of the route.
On Sat, Nov 28, 2009 at 9:29 AM, lekkie <le...@gmail.com> wrote:
>
> Hi People,
>
> How do you ask camel to log the response going to a replyto queue?
>
> See my sample config file below:
> <osgi:camelContext xmlns="http://camel.apache.org/schema/spring">
> <route>
> <from
> uri="jms:queue:RequestQueue?replyTo=ResponseQueue" />
> <convertBodyTo
> type="javax.xml.transform.stream.StreamSource" />
> <to uri="log:jmsMessagesLog" />
> <bean ref="RecipientList" method="route" />
> </route>
> </osgi:camelContext>
>
> kr.
> --
> View this message in context: http://old.nabble.com/Logging-response-going-to-JMS-replyto-queue-tp26545444p26545444.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus