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 2020/01/25 16:43:23 UTC

[camel] 02/02: Fixed test

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ed0caa0d934c828949ff311252297579e20227e8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Jan 25 17:42:54 2020 +0100

    Fixed test
---
 .../org/apache/camel/spring/processor/SpringRouteStopTest.xml        | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml
index 8e3e4fe..e065f28 100644
--- a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml
+++ b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml
@@ -47,10 +47,7 @@
         <route>
             <from uri="direct:foo"/>
             <to uri="mock:foo"/>
-            <!-- you can also set the Exchange#ROUTE_STOP property on Exchange to true -->
-            <setProperty name="CamelRouteStop">
-                <constant>true</constant>
-            </setProperty>
+            <stop/>
             <to uri="mock:result"/>
         </route>
     </camelContext>