You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by wt...@apache.org on 2009/03/26 05:11:58 UTC

svn commit: r758514 - /camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/soap/headers/CxfMessageHeadersRelayTest-context.xml

Author: wtam
Date: Thu Mar 26 04:11:57 2009
New Revision: 758514

URL: http://svn.apache.org/viewvc?rev=758514&view=rev
Log:
Add snippet tags

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

Modified: camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/soap/headers/CxfMessageHeadersRelayTest-context.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/soap/headers/CxfMessageHeadersRelayTest-context.xml?rev=758514&r1=758513&r2=758514&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/soap/headers/CxfMessageHeadersRelayTest-context.xml (original)
+++ camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/soap/headers/CxfMessageHeadersRelayTest-context.xml Thu Mar 26 04:11:57 2009
@@ -79,11 +79,17 @@
                    xmlns:tns="http://apache.org/camel/component/cxf/soap/headers">
   </cxf:cxfEndpoint>
   
+  
+  <!-- START SNIPPET: dropAllMessageHeadersStrategy -->
   <bean id="dropAllMessageHeadersStrategy" class="org.apache.camel.component.cxf.CxfHeaderFilterStrategy">
+  
       <!--  Set relayHeaders to false to drop all SOAP headers -->
       <property name="relayHeaders" value="false"/>
+      
   </bean>
+  <!-- END SNIPPET: dropAllMessageHeadersStrategy -->
   
+  <!-- START SNIPPET: customMessageFilterStrategy -->
   <bean id="customMessageFilterStrategy" class="org.apache.camel.component.cxf.CxfHeaderFilterStrategy">
       <property name="messageHeaderFilters">
           <list>
@@ -95,6 +101,7 @@
           </list>
       </property>
   </bean>
+  <!-- END SNIPPET: customMessageFilterStrategy -->
   
   <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
       <route>
@@ -109,10 +116,14 @@
          <from uri="direct:relayProducer" />
          <to uri="cxf:bean:routerRelayEndpoint" />
       </route>
+      
+      <!-- START SNIPPET: noRelayRoute -->
       <route>
           <from uri="cxf:bean:routerNoRelayEndpoint?headerFilterStrategy=#dropAllMessageHeadersStrategy"/>          
           <to uri="cxf:bean:serviceNoRelayEndpoint?headerFilterStrategy=#dropAllMessageHeadersStrategy"/>
       </route>
+      <!-- END SNIPPET: noRelayRoute -->
+      
       <route>
           <from uri="cxf:bean:serviceExtraRelays?headerFilterStrategy=#customMessageFilterStrategy"/>
           <to uri="mock:result"/>