camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r759362 - /camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/LoggingInterceptorInMessageModeTest-context.xml
Date Fri, 27 Mar 2009 21:45:41 GMT
Author: wtam
Date: Fri Mar 27 21:45:40 2009
New Revision: 759362

URL: http://svn.apache.org/viewvc?rev=759362&view=rev
Log:
Fixing test for [CAMEL-1351]

Modified:
    camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/LoggingInterceptorInMessageModeTest-context.xml

Modified: camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/LoggingInterceptorInMessageModeTest-context.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/LoggingInterceptorInMessageModeTest-context.xml?rev=759362&r1=759361&r2=759362&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/LoggingInterceptorInMessageModeTest-context.xml
(original)
+++ camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/LoggingInterceptorInMessageModeTest-context.xml
Fri Mar 27 21:45:40 2009
@@ -20,18 +20,20 @@
        http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
        http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
     ">
-    
-    <bean id="loggingOutInterceptor" class="org.apache.cxf.interceptor.LoggingOutInterceptor">
-         <constructor-arg value="user-stream"/> 
-    </bean>
      
 	<cxf:cxfEndpoint id="routerEndpoint" address="http://localhost:9000/router"
 		serviceClass="org.apache.camel.component.cxf.HelloService">
 		<cxf:properties>
 			<entry key="dataFormat" value="MESSAGE"/>
-		</cxf:properties>
+		</cxf:properties>	
 	</cxf:cxfEndpoint>
 		
+    <!-- START SNIPPET: enableLoggingOutInterceptor -->
+    <bean id="loggingOutInterceptor" class="org.apache.cxf.interceptor.LoggingOutInterceptor">
+         <!--  it really should have been user-prestream but CXF does have such phase!
-->
+         <constructor-arg value="write"/> 
+    </bean>
+    		
 	<cxf:cxfEndpoint id="serviceEndpoint" address="http://localhost:9002/helloworld"
 		serviceClass="org.apache.camel.component.cxf.HelloService">
 		<cxf:outInterceptors>
@@ -41,6 +43,7 @@
 			<entry key="dataFormat" value="MESSAGE"/>
 		</cxf:properties>
 	</cxf:cxfEndpoint>
+	<!-- END SNIPPET: enableLoggingOutInterceptor -->
 	
 	<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
 		<route>



Mime
View raw message