What do you mean by XQuery transform ?

Because if I use .filter.xquery("my query") camel will only send the message
where the condition is met to the next action

Charles


James.Strachan wrote:
> 
> 2008/7/8 cmoulliard <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> Is it possible through the routing to tell the processor that I want to
>> unmarshall a part of the XML file parsed ?
>>
>> Idea :
>>
>> From("File:///c:/temp/test)
>> .extract(xpath(//NodeSearched/*)
>> .unmarshall(jaxb)
>> .to("bean:transform)
> 
> you could write custom Java for this in a bean, or use an XQuery
> transform; then call
> 
> unmarshal().jaxb()
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unmarshall-a-part-of-a-XML-file-using-JAXB-tp18340217s22882p18358444.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to