Interface StoryMessage

  • All Superinterfaces:

    public interface StoryMessage
    extends Message

    An instance of StoryMessage represents a news story.


    An object implementing this interface can not be instantiated directly, but can be constructed using the MessageFactory that is available on the Publisher interface.

    Note: After publishing a message, do not reuse the message (e.g. change the content, republish) as this can cause issues.

    • Method Detail

      • getText

        java.lang.String getText()

        Gets the text of the news story.

        The text.