Repository: camel Updated Branches: refs/heads/master b80c9a364 -> 39102b278
Fixed test Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/39102b27 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/39102b27 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/39102b27 Branch: refs/heads/master Commit: 39102b278d6e44417e5d756b9ea4241a2f455502 Parents: b80c9a3 Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Feb 17 12:05:10 2017 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Feb 17 12:05:10 2017 +0100 ---------------------------------------------------------------------- .../apache/camel/spring/processor/SpringLoopDoWhileTest.java | 5 +++++ .../org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/39102b27/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLoopDoWhileTest.java ---------------------------------------------------------------------- diff --git a/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLoopDoWhileTest.java b/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLoopDoWhileTest.java index 937fb69..96eded3 100644 --- a/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLoopDoWhileTest.java +++ b/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLoopDoWhileTest.java @@ -27,6 +27,11 @@ import static org.apache.camel.spring.processor.SpringTestHelper.createSpringCam public class SpringLoopDoWhileTest extends LoopDoWhileTest { @Override + public void testLoopDoWhileFunctional() throws Exception { + // not applicable in XML + } + + @Override protected CamelContext createCamelContext() throws Exception { return createSpringCamelContext(this, "org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml"); } http://git-wip-us.apache.org/repos/asf/camel/blob/39102b27/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml ---------------------------------------------------------------------- diff --git a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml index 5df6748..b2a0988 100644 --- a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml +++ b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml @@ -25,7 +25,7 @@ <camelContext xmlns="http://camel.apache.org/schema/spring"> <!-- START SNIPPET: ex1 --> <route> - <from uri="direct:start"/> + <from uri="direct:simple"/> <!-- while loop as long the message body length is <= 5 --> <loop doWhile="true"> <simple>${body.length} <= 5</simple>