AW: [Feature Enhancement] Camel body size

2013-11-24 Thread jhm
> Von: Claus Ibsen [mailto:claus.ib...@gmail.com] > > 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

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: AW: [Feature Enhancement] Camel body size

2013-11-24 Thread Claus Ibsen
lto:hzbar...@gmail.com] >>> Gesendet: Samstag, 23. November 2013 20:00 >>> An: users@camel.apache.org >>> Betreff: Re: [Feature Enhancement] Camel body size >>> >>> I wonder how you'd implement that in the general case. A pojo, array of >>>

Re: AW: [Feature Enhancement] Camel body size

2013-11-23 Thread Hadrian Zbarcea
Hadrian Zbarcea [mailto:hzbar...@gmail.com] Gesendet: Samstag, 23. November 2013 20:00 An: users@camel.apache.org Betreff: Re: [Feature Enhancement] Camel body size 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 po

AW: [Feature Enhancement] Camel body size

2013-11-23 Thread jhm
Store the object in a byte array and count the bytes? Jan > -Ursprüngliche Nachricht- > Von: Hadrian Zbarcea [mailto:hzbar...@gmail.com] > Gesendet: Samstag, 23. November 2013 20:00 > An: users@camel.apache.org > Betreff: Re: [Feature Enhancement] Camel body size > &g

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

AW: [Feature Enhancement] Camel body size

2013-11-23 Thread jhm
mber 2013 12:01 > An: users@camel.apache.org > Betreff: Re: [Feature Enhancement] Camel body size > > 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: >

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

[Feature Enhancement] Camel body size

2013-11-23 Thread Matt Pavlovich
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 header. https://issues.apache.org/jira/browse/CAMEL-6984 I see it solving a couple things: 1. Provide throughput metrics 2. Route based on messag