You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2009/01/30 19:32:55 UTC

svn commit: r739368 - /camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml

Author: janstey
Date: Fri Jan 30 18:32:54 2009
New Revision: 739368

URL: http://svn.apache.org/viewvc?rev=739368&view=rev
Log:
Updating for header expression wiki page

Modified:
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml?rev=739368&r1=739367&r2=739368&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml Fri Jan 30 18:32:54 2009
@@ -23,19 +23,19 @@
     ">
 
     <!--
-       from("direct:a").recipientList(header("myHeader").tokenize(","));
+      from("direct:a").recipientList(header("myHeader"));
     -->
 
-    <!-- START SNIPPET: e1 -->
     <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring">
-        <route>
-            <from uri="direct:a"/>
-            <!-- use comma as a delimiter for String based values -->
-            <recipientList delimiter=",">
-                <header>myHeader</header>
-            </recipientList>
-        </route>
+      <!-- START SNIPPET: e1 -->
+      <route>
+        <from uri="direct:a" />
+        <!-- use comma as a delimiter for String based values -->
+        <recipientList delimiter=",">
+          <header>myHeader</header>
+        </recipientList>
+      </route>
+      <!-- END SNIPPET: e1 -->
     </camelContext>
-    <!-- END SNIPPET: e1 -->
 
 </beans>