On 10 February 2010 09:11, NagendraCorpus <[email protected]> wrote:
>
> Hi,
>
> how to do xmlparsing using camel javadsl , please rply soon.:confused:
Depends what you want to parse the XML into.
Here's how you could parse some XML into a DOM...
public class MyBean {
@Consume(uri="activemq:someQueue")
public Object onMessage(Document body) {
...
return someResponse;
}
}
For more detail see
http://camel.apache.org/bean-integration.html
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/