Re: [Feature Enhancement] Camel body size

2013-11-24 Thread Claus Ibsen
Hi Though I like the idea if we could get some sort of API in Camel components that optionally could determine the message size. So we could keep track of a size of message data in and out. Sorta like an activity monitor tool, such as TCP / IO which can show - packets in - packets out - data in

Re: [Feature Enhancement] Camel body size

2013-11-23 Thread Hadrian Zbarcea
I wonder how you'd implement that in the general case. A pojo, array of pojos, do you include the size of the headers, are headers pojos, arrays of pojos... What about properties... Hadrian On 11/22/2013 03:57 PM, Matt Pavlovich wrote: Hello- I opened a ticket to request adding a feature fo

Re: [Feature Enhancement] Camel body size

2013-11-23 Thread Jean-Baptiste Onofré
Hi Matt, What do you think about something like ${body.size} or ${body.length} ? Regards JB On 11/22/2013 09:57 PM, Matt Pavlovich wrote: Hello- I opened a ticket to request adding a feature for components to provide a Body size to the Exchange that could be used by Simple, or set as a heade