camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiangfan <17108...@qq.com>
Subject CXF -- problem how to use Camel-Cxf to invoke a webservice
Date Thu, 29 Dec 2011 08:16:44 GMT
Hi,
I used to do, to write a bean, then use the bean webservice to call .
like this: 
            <camel:camelContext autoStartup="true" trace="true">
		<camel:route id="old-example">
			<camel:from uri="jms:queue:old-example?jmsMessageType=Text" />
			<camel:to uri="bean:serviceOldInvokerBean?method=invokerSomeService" />
		</camel:route>

	</camel:camelContext>
	<bean id="serviceOldInvokerBean"
class="com.ygsoft.cxfExample.bean.ServiceOldInvokerBean" />

Now I want to use a camel-CXF component to call webservice 

can you show me a example ?


Thanks in advance, 
Jiangfan

--
View this message in context: http://camel.465427.n5.nabble.com/CXF-problem-how-to-use-Camel-Cxf-to-invoke-a-webservice-tp5107111p5107111.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message