The simple language will invoke the getName() method on the message body object 
if your are doing a ${body.name} or ${body.getName}. What kind of data is your 
message body?

-----Original Message-----
From: smilevasu6 [mailto:[email protected]] 
Sent: Freitag, 5. Dezember 2014 11:59
To: [email protected]
Subject: RE: AW: Camel - Array

Hi,

I am not bother about the size.

I need to fetch the element name like if it is  <xs:element name="Address">
i need to get "name" but not hard coded ex:
setHeader("size",simple("${body.getName}")) it should returns me Address. so
that i can use the value later.

Please do let help me. I am browsing from past 2 days.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Array-tp5760111p5760196.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to