Repository: camel Updated Branches: refs/heads/master 4fc73b4cd -> 967c91dfd
CAMEL-6944: Exchange should include id in toString so users can use that for tracking etc. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/967c91df Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/967c91df Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/967c91df Branch: refs/heads/master Commit: 967c91dfd1ade1138d03453f49c5bab1470ee3e7 Parents: feffcec Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Jul 10 17:41:32 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat Jul 11 08:15:48 2015 +0200 ---------------------------------------------------------------------- .../test/scala/org/apache/camel/scala/dsl/SValidateTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/967c91df/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala ---------------------------------------------------------------------- diff --git a/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala b/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala index 7ddacd0..f52c511 100644 --- a/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala +++ b/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala @@ -44,7 +44,7 @@ class SValidateSimpleTest extends ValidateSimpleTest with RouteBuilderSupport { assertTrue("Get a wrong exception message", e.getCause.getMessage.startsWith("Validation failed for Predicate[org.apache.camel.scala.ScalaPredicate")) assertTrue("Get a wrong exception message", - e.getCause.getMessage.endsWith("Exchange[Message: 1.1.2010]")) + e.getCause.getMessage.endsWith("[Message: 1.1.2010]")) } } @@ -82,7 +82,7 @@ class SValidateRegExpTest extends ValidateRegExpTest with RouteBuilderSupport { assertTrue("Get a wrong exception message", e.getCause.getMessage.startsWith("Validation failed for Predicate[org.apache.camel.scala.ScalaPredicate")) assertTrue("Get a wrong exception message", - e.getCause.getMessage.endsWith("Exchange[Message: 1.1.2010]")) + e.getCause.getMessage.endsWith("[Message: 1.1.2010]")) } }