Interface TextMessageBuilder

  • All Superinterfaces:
    Builder
    All Known Implementing Classes:
    PlainTextBuilder, TextMessageBuilderAdapter

    public interface TextMessageBuilder
    extends Builder
    Message builder able to build messages from a character stream. This interface can be optionally implemented by Builder implementations that support building a message from a character stream.

    The character stream can either be provided as a string or a Reader object. The caller should use a Reader object except if the content of the message is available as a string anyway.

    This interface is currently used by the JMS transport to process TextMessage instances.