When only asking the body for its length you lose the length of properties,
headers and attachements.
(Especially when retrieving emails the last could be big ;)

Jan

> -----Ursprüngliche Nachricht-----
> Von: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
> Gesendet: Samstag, 23. November 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:
> > 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 message sizing
> >
> > What does the community think about this? Any suggestions on
> improvements/features or implementation approaches?
> >
> > Thanks,
> > Matt Pavlovich
> >
> 
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to