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

Reply via email to