Hi

Add a <to uri="log:foo"/> at the end of the route.


On Sat, Nov 28, 2009 at 9:29 AM, lekkie <[email protected]> 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

Reply via email to