You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.3 KiB
30 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring"
|
|
xmlns:cxf="http://camel.apache.org/schema/cxf" xmlns:beans="http://www.springframework.org/schema/beans"
|
|
xsi:schemaLocation="
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<import resource="classpath:META-INF/cxf/cxf.xml" />
|
|
|
|
<cxf:cxfEndpoint id="helloService"
|
|
address="http://localhost:8080/HelloService" serviceClass="com.moodykettle.webservice.helloworld.HelloWorld"
|
|
wsdlURL="wsdl/HelloService.wsdl">
|
|
</cxf:cxfEndpoint>
|
|
|
|
<cxf:cxfEndpoint id="productService"
|
|
address="http://localhost:8081/ProductService" serviceClass="com.moodykettle.webservice.helloworld.Product"
|
|
wsdlURL="wsdl/ProductService.wsdl">
|
|
</cxf:cxfEndpoint>
|
|
|
|
|
|
|
|
<beans:bean id="myRoute" class="com.steve.research.MyRoute"/>
|
|
|
|
<camel:camelContext>
|
|
<camel:routeBuilder ref="myRoute"/>
|
|
</camel:camelContext>
|
|
|
|
</beans>
|