camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chandraprabha <chandrapra...@gmail.com>
Subject Re: camel-example-cxf-proxy need help
Date Fri, 05 Aug 2011 04:06:31 GMT
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.

Mime
View raw message