Re: How to read XML Payload

2015-11-06 Thread calyan.bandi
Hi, Thanks everyone for giving their suggestions. I was able to solve this using xslt component in a camel-loop . I am giving the route here just for your reference: count(/PricePlans/Body/customer) CamelLoop

Re: How to read XML Payload

2015-11-06 Thread SopwithInOut
I assume that by now, you will have already solved this. But in any case, I would approach this with some kind of "/ Message Translator /" solution in mind. I'm very, very new to Camel. But I have a couple years experience using a big-name proprietary ESB. I've done similar

RE: How to read XML Payload

2015-11-04 Thread Vanshul . Chawla
A way achieve this is with xslt. Have the header part saved in Camel header and attach that to each split message using xslt. -Original Message- From: calyan.bandi [mailto:calyan.ba...@gmail.com] Sent: Wednesday, November 04, 2015 2:38 PM To: users@camel.apache.org Subject: Re: How to

Re: How to read XML Payload

2015-11-04 Thread calyan.bandi
Hi Henry, I tried both the options XPath and tokenize. But they didn't give me the desired results. The route is defined as below: /PricePlans/Body/customer The output that i receive from the XPath split is only the customer tag as shown below. ... I need the meta-data information i

Re: How to read XML Payload

2015-11-03 Thread Henryk Konsek
Hi, Have you taken a look at the XPath splitter by any chance? Cheers! wt., 3.11.2015 o 12:31 użytkownik calyan.bandi napisał: > Hi, > > Could someone please provide me the syntax for reading the XML payload with > only the relevant tags. My input XML contains data as below: > > > > ...