camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From balkishore <>
Subject Re: Using a custom based load balancer.
Date Wed, 26 Sep 2012 06:42:28 GMT
Hi claus,
If i use the Xpath java API, something like this:

XPathExpression expression =

String id = expression.evaluate(exchange.getContext(), body);

I get an error saying The method evaluate(Object, QName) in the type
XPathExpression is not applicable for the arguments (CamelContext, String)

And if use the Xpathbuilder, it gives me an error saying invalid xpath
expression. But when i test the same xpath expression using Xapth java API,
i get the serviceGroup id.

Any help would be really useful.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message