Re: AW: [Feature Enhancement] Camel body size

2013-11-24 Thread Claus Ibsen
Hi Yeah as people have said here. I think its hard to implement an expression/logic in camel-core, that supports all kinds of messages bodies/headers/properties/attachments and whatnot that is possible out there. Also it gets trickier when you work with streams, as you would need to access the to

Re: AW: [Feature Enhancement] Camel body size

2013-11-23 Thread Hadrian Zbarcea
So that's one way of doing it. I assume you'd want that customized to include headers or not, right? Now how's that different than having an expression (actually any number of specialized expressions), returning the size calculated using your algorithm of choice. Set your header of choice with