Re: Parsing XML Performance

2013-02-21 Thread Henryk Konsek
> I haven't taken it for spin yet, but > it's worth a try. Also James added VTD XML component to Camel Extra, if extra-fast XPath query is fair enough for you. [1] http://camel.apache.org/vtd-xml -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Parsing XML Performance

2013-02-21 Thread Raul Kripalani
compario.in refers to a jaxb.index file > > which refers to a java class named ResponseCompario.java > > > > It works fine but i was wondering, is this route more performant ?: > > from("endpointIn") > > .convertBodyTo(ResponseCompario.class)// > > .process(.

Re: Parsing XML Performance

2013-02-21 Thread Henryk Konsek
> Avoid usage of DOM or big object trees. Good point. I assumed that the entire XML needs to be parsed (this is often the case). But yeah, definitely favor streaming over deserializing entire XML. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Parsing XML Performance

2013-02-21 Thread Łukasz Dywicki
ompario.java > > It works fine but i was wondering, is this route more performant ?: > from("endpointIn") > .convertBodyTo(ResponseCompario.class)// > .process(...) > > NB: The xml files are pretty big. > > Best regards, > > > > -- > View

Re: Parsing XML Performance

2013-02-20 Thread Christian Müller
route more performant ?: > from("endpointIn") > .convertBodyTo(ResponseCompario.class)// > .process(...) > > NB: The xml files are pretty big. > > Best regards, > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Parsing-XML-Performance-tp5727867.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --

Re: Parsing XML Performance

2013-02-20 Thread Henryk Konsek
Hi, > It works fine but i was wondering, is this route more performant ?: > NB: The xml files are pretty big. If XML (de)serialization is an issue consider using JiBX data format [1]. from("direct:start").unmarshal().jibx(MyMappedBean.class).to(...); JiBX is a speed demon comparing to JAXB. Be

Parsing XML Performance

2013-02-20 Thread BobbySixKiller
- View this message in context: http://camel.465427.n5.nabble.com/Parsing-XML-Performance-tp5727867.html Sent from the Camel - Users mailing list archive at Nabble.com.