Mock - Make it easier to match body with xpath expressions
----------------------------------------------------------
Key: CAMEL-3182
URL: https://issues.apache.org/activemq/browse/CAMEL-3182
Project: Apache Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.4.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Priority: Minor
Fix For: 2.5.0
Currently you have to do:
{code}
mock.message(0).body().matches(xpath("/foo/text() = 'Hello
World'").booleanResult());
{code}
Which we should make it easier to do.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.