camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Deserializing mesage
Date Mon, 14 Jul 2008 16:27:02 GMT
2008/7/13 Vadim Chekan <vchekan@cox.net>:
> As usually, I go my own way :)
> I got nice xml using xstream but now I'm trying to extract an element from
> it with xpath or xquery.
> Should I use process or transform and what is the difference between them?

Use process() to use a Processor implementation as the transformer;
use beanRef to use a Java bean method call as the transformer, or
<transform> to use an expression (such as XPath or XQuery) as the
transformer (i.e. the result is the value of the expression).

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message