camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sushmita chandra <flightsoffantasy...@gmail.com>
Subject Re: Issue in a camel route having webservice and active-mq as endpoints
Date Wed, 27 Feb 2013 10:11:58 GMT
Thanks Claus, It resolved my issue.

I modified my route and issue is resolved now.

         <camel:camelContext id="camel">
                 <camel:route>
                         <camel:from uri="cxf:bean:webserviceEndpoint" />
                         <camel:convertBodyTo type="java.lang.String" />
                         <camel:choice>
                                 <camel:when>
                                         <camel:simple>${body} ==
'testing'</camel:simple>
                                         <camel:transform>
                                                 <camel:simple>Hello
${bodyAs(String)} how are you?</camel:simple>
                                         </camel:transform>
                                 </camel:when>
                         </camel:choice>
                         <camel:setExchangePattern pattern="InOnly"/>
                         <camel:to uri="testmq:pil" />
                <camel:route>
         </camel:camelContext> 





--
View this message in context: http://camel.465427.n5.nabble.com/Issue-in-a-camel-route-having-webservice-and-active-mq-as-endpoints-tp5728006p5728211.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message