Claus,
I gave it a thought but... if what you say is true, why when the body type
is String then - after the bean call - the body does atually change to null?
It seems to be a problem of consistency or maybe there's a bug in the "noop"
implementation, I don't know.

Anyway, I debugged the code and the issue is that the File component
actively reads the file AGAIN, every time it's invoked a getBody on a body =
null. So the body WAS actually null but it got overwritten. And it will do
that every time.

To me this is not right, as I explained in my previous messages.
Do you see my point?






--
View this message in context: 
http://camel.465427.n5.nabble.com/GenericFileMessage-creates-body-from-file-multiples-times-tp5765116p5766511.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to