Hi

You posted here as well
http://fusesource.com/forums/thread.jspa?threadID=3214&tstart=0

Its generally best practice to not double posts, and if you do, refer
to where you have posted also.


On Fri, Aug 5, 2011 at 6:06 AM, chandraprabha <chandrapra...@gmail.com> wrote:
> Thanks
>
> I am able to call external webservice.
>
> Now i want to call different webservice based on different operation .I have
> modified the route as below ..but not working :(
>
> <camelContext xmlns="http://camel.apache.org/schema/spring";>
>
>                <route>
>
>                        <from uri="cxf:bean:reportIncident?dataFormat=Message" 
> />
>                                <choice>
>                                <when>
>                                        
> <simple>${in.header.operationName}=="GetSupportTopics"</simple>
>                                        <to
>
> uri="http://stage-esb01.myCom.net:8092/Service/CommunicationWs/?throwExceptionOnFailure=false";
> />
>                                </when>
>                                 <otherwise>
>                                <to
>
> uri="http://stage-esb01.myCom.net:8092/Service/MemberWs/?throwExceptionOnFailure=false";
> />
>                                </otherwise>
>                        </choice>
>
>                        <to uri="bean:enrichBean" />
>                        <to uri="log:input" />
>
>                        <to uri="log:output" />
>                </route>
>        </camelContext>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/camel-example-cxf-proxy-need-help-tp4667517p4668643.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to