That's exactly what I needed. Thanks :) 

ben.oday wrote:
> 
> The issue is that @XPath defaults the resultType to NodeList.class.  But I
> think you need to use String.class instead...
> 
> So, try setting the resultType explicitly, like this...
> 
> public void updateStatus(@XPath(value ="/order/@customerId", resultType =
> String.class) Integer customerId,
>                                   @XPath(value ="order/status/text()",
> resultType = String.class) String status
>                                   @XPath(value=
> "upper-case(order/status/text())", resultType = String.class) String
> uppercaseStatus
>                                       )  
> 


--
View this message in context: 
http://camel.465427.n5.nabble.com/xpath-2-0-function-bean-binding-camel-xpath-annotation-tp4344611p4345927.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to