I can't think of a Camel functionality that will allow you to store the result in a HashMap entry out-of-the-box. You'll have to handle this inside a bean or script for now.
Feel free to open a ticket in our JIRA to request this feature [1]. Maybe we could create a new type of "setXYZ" DSL that allows you to pick the destination based on an expression. Just an idea... [1] https://issues.apache.org/jira/browse/CAMEL Regards, -- *Raúl Kripalani* Apache Camel Committer Enterprise Architect, Program Manager, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk> On Thu, Sep 27, 2012 at 12:00 PM, balkishore <balkishore.pan...@gmail.com>wrote: > Hi Raul, > Thanks for replying. > But for saving the extracted element, I use a Hashmap. > I just want to extract the element and store it in the Hashmap and not in > the header itself. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Getting-a-node-from-an-XML-using-camel-cxf-tp5720008p5720115.html > Sent from the Camel - Users mailing list archive at Nabble.com. >