Ok, I just wondered ... Jan
> -----Ursprüngliche Nachricht----- > Von: Claus Ibsen [mailto:claus.ib...@gmail.com] > Gesendet: Dienstag, 27. August 2013 13:09 > An: dev > Betreff: Re: MessageSupport > > No its fine as is, according to the javadoc. Its only intended to be > overridden for special use-cases. > > On Tue, Aug 27, 2013 at 1:05 PM, Jan Matèrne (jhm) <apa...@materne.de> > wrote: > > package org.apache.camel.impl; > > > > public abstract class MessageSupport implements Message { > > > > > > > > /** > > > > * A factory method to allow a provider to lazily create the > > message body > > > > * for inbound messages from other sources > > > > * > > > > * @return the value of the message body or null if there is no > > value > > > > * available > > > > */ > > > > protected Object createBody() { > > > > return null; > > > > } > > > > > > > > > > > > Should this method be abstract? > > > > Constantly returning null doesnt seems to be good to me .... > > > > > > > > > > > > Jan > > > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen