THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
When using XML DSL there is a version attribute you can set on the <soap> <soapjaxb> element.
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- Defining a ServiceInterfaceStrategy for retrieving the element name when marshalling --> <bean id="myNameStrategy" class="org.apache.camel.dataformat.soap.name.ServiceInterfaceStrategy"> <constructor-arg value="com.example.customerservice.CustomerService"/> <constructor-arg value="true"/> </bean> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<route> <from uri="direct:start"/> <marshal> <soap<soapjaxb contentPath="com.example.customerservice" version="1.2" elementNameStrategyRef="myNameStrategy"/> </marshal> <to uri="jms:myQueue"/> </route> |
...