...
Name | Description | Example | Required? | Default Value |
---|---|---|---|---|
| The location of the WSDL. | file://local/wsdl/hello.wsdl or | No | WSDL is obtained from endpoint address by default. |
| The name of the SEI (Service Endpoint Interface) class. This class can have, but does not require, JSR181 annotations. | | Yes |
|
| In 1.6 or later (will be deprecated in 2.0), | | No (use either |
|
| The service name this service is implementing, it maps to the | {http://org.apache.camel}ServiceName | Only if more than one |
|
| The port name this service is implementing, it maps to the | {http://org.apache.camel}PortName | Only if more than one |
|
| Which data type messages the CXF endpoint supports | | No | |
| Available since 1.6.1. Please see the Description of | | No | |
| Which kind of operation that CXF endpoint producer will invoke | | No | |
| Will set the default bus when CXF endpoint create a bus by itself | | No | |
| New in 2.0, use | | No | Default bus created by CXF Bus Factory |
| New in 2.0, use | | No | An instance of |
| New in 2.0, use | | No | An instance of |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://activemq.apache.org/camel/schema/cxfEndpoint"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/camel/schema/cxfEndpoint http://activemq.apache.org/camel/schema/cxf/camel-cxf-1.6.0.xsd
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd ">
<cxf:cxfEndpoint id="routerEndpoint" address="http://localhost:9003/CamelContext/RouterPort"
serviceClass="org.apache.hello_world_soap_http.GreeterImpl"/>
<cxf:cxfEndpoint id="serviceEndpoint" address="http://localhost:9000/SoapContext/SoapPort"
wsdlURL="testutils/hello_world.wsdl"
serviceClass="org.apache.hello_world_soap_http.Greeter"
endpointName="s:SoapPort"
serviceName="s:SOAPService"
xmlns:s="http://apache.org/hello_world_soap_http" />
<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring">
<route>
<from uri="cxf:bean:routerEndpoint" />
<to uri="cxf:bean:serviceEndpoint" />
</route>
</camelContext>
</beans>
|
...