camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1431386 - /camel/trunk/tests/camel-blueprint-cxf-test/src/test/resources/org/apache/camel/test/cxf/blueprint/CxfPayloadProviderRouterBeans.xml
Date Thu, 10 Jan 2013 14:33:31 GMT
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}}">



Mime
View raw message