Returning null from a bean is considered as a noop operation - eg dont
change the message.

If you want to set the message to null then use a message translator
eip such as transform

<transform><simple>${null}</simple></transform>







On Wed, Apr 29, 2015 at 11:15 AM, A.Light
<[email protected]> wrote:
> In case the answers to my questions are no, considering the serious issue of
> having a supposedly empty body suddenly filled with the whole file, I would
> then consider the extreme solution of giving up lazy reading (or at least
> having it optional, with clear explanations of the consecuencies).
>
> Thanks,
> A.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/GenericFileMessage-creates-body-from-file-multiples-times-tp5765116p5766474.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to