THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<wsp:Policy wsu:Id="="RM" xmlns:wsp="http://www.w3.org/2006/07/ws-policy" ...> </wsp:Policy> <jaxws:endpoint ...> <jaxws:features> <p:policies> <wsp:PolicyReference URI="#RM" xmlns:wsp="http://www.w3.org/2006/07/ws-policy"/> </p:policies> </jaxws:features> </jaxws:endpoint> |
Using the Reliable Messaging Feature
...
Code Block | ||||
---|---|---|---|---|
| ||||
<bean id="rmLogicalOut" class="org.apache.cxf.ws.rm.RMOutInterceptor"> <property name="bus" ref="cxf"/> </bean> <bean id="rmLogicalIn" class="org.apache.cxf.ws.rm.RMInInterceptor"> <property name="bus" ref="cxf"/> </bean> <bean id="rmCodec" class="org.apache.cxf.ws.rm.soap.RMSoapInterceptor"/> <cxf:bus ...> <cxf:inInterceptors> <ref bean="rmLogicalIn"/> <ref bean="rmCodec"/> </cxf:inInterceptors> <cxf:inFaultInterceptors> <ref bean="rmLogicalIn"/> <ref bean="rmCodec"/> </cxf:inFaultInterceptors> <cxf:outInterceptors> <ref bean="rmLogicalOut"/> <ref bean="rmCodec"/> </cxf:outInterceptors> <cxf:outFaultInterceptors> <ref bean="rmLogicalOut"/> <ref bean="rmCodec"/> <cxf:outFaultInterceptors> </cxf:bus> |
The RetransmissionIntercepor will be added on the fly by the RMOutInterceptor so need not appear in your configuration file.
...