You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2013/01/10 15:33:31 UTC
svn commit: r1431386 -
/camel/trunk/tests/camel-blueprint-cxf-test/src/test/resources/org/apache/camel/test/cxf/blueprint/CxfPayloadProviderRouterBeans.xml
Author: ningjiang
Date: Thu Jan 10 14:33:31 2013
New Revision: 1431386
URL: http://svn.apache.org/viewvc?rev=1431386&view=rev
Log:
Added some test on how to set the interceptors on the cxfEndpoint
Modified:
camel/trunk/tests/camel-blueprint-cxf-test/src/test/resources/org/apache/camel/test/cxf/blueprint/CxfPayloadProviderRouterBeans.xml
Modified: camel/trunk/tests/camel-blueprint-cxf-test/src/test/resources/org/apache/camel/test/cxf/blueprint/CxfPayloadProviderRouterBeans.xml
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-blueprint-cxf-test/src/test/resources/org/apache/camel/test/cxf/blueprint/CxfPayloadProviderRouterBeans.xml?rev=1431386&r1=1431385&r2=1431386&view=diff
==============================================================================
--- camel/trunk/tests/camel-blueprint-cxf-test/src/test/resources/org/apache/camel/test/cxf/blueprint/CxfPayloadProviderRouterBeans.xml (original)
+++ camel/trunk/tests/camel-blueprint-cxf-test/src/test/resources/org/apache/camel/test/cxf/blueprint/CxfPayloadProviderRouterBeans.xml Thu Jan 10 14:33:31 2013
@@ -36,11 +36,20 @@
<cm:property name="service.address" value="http://localhost:8000/serviceEndpoint" />
</cm:default-properties>
</cm:property-placeholder>
-
+
+ <bean id="loggingOutInterceptor" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
+ <bean id="loggingInInterceptor" class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
+
<cxf:cxfEndpoint id="routerEndpoint" address="{{router.address}}">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD"/>
</cxf:properties>
+ <cxf:outInterceptors>
+ <ref component-id="loggingOutInterceptor"/>
+ </cxf:outInterceptors>
+ <cxf:inInterceptors>
+ <ref component-id="loggingInInterceptor"/>
+ </cxf:inInterceptors>
</cxf:cxfEndpoint>
<cxf:cxfEndpoint id="serviceEndpoint" address="{{service.address}}">