You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2011/08/31 13:26:03 UTC

svn commit: r1163579 - in /camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor: aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml intercept/SpringParentChildInterceptStrategyTest.xml

Author: davsclaus
Date: Wed Aug 31 11:26:03 2011
New Revision: 1163579

URL: http://svn.apache.org/viewvc?rev=1163579&view=rev
Log:
CAMEL-3619: Favor using function start/end tokens with simple language to make it stand out its a simple function.

Modified:
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml?rev=1163579&r1=1163578&r2=1163579&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml Wed Aug 31 11:26:03 2011
@@ -28,7 +28,7 @@
             <from uri="direct:start"/>
             <aggregate strategyRef="aggregatorStrategy" completionTimeout="5000">
                 <correlationExpression>
-                    <simple>header.id</simple>
+                    <simple>${header.id}</simple>
                 </correlationExpression>
                 <completionTimeout>
                     <header>timeout</header>

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml?rev=1163579&r1=1163578&r2=1163579&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml Wed Aug 31 11:26:03 2011
@@ -31,12 +31,12 @@
       <to uri="mock:a" id="task-a"/>
       <choice id="choice">
         <when id="when">
-          <simple>${body} contains Camel</simple>
+          <simple>${body} contains 'Camel'</simple>
           <to uri="mock:b" id="task-b"/>
           <to uri="mock:c" id="task-c"/>
         </when>
         <when id="when2">
-          <simple>${body} contains Donkey</simple>
+          <simple>${body} contains 'Donkey'</simple>
           <to uri="mock:d" id="task-d"/>
         </when>
         <otherwise id="otherwise">