com.ibm.streamsx.topology.tuple

Interface Message

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    SimpleMessage


    public interface Message
    extends java.io.Serializable
    An interface for tuple attributes common to messaging adapters in com.ibm.streamsx.topology.messaging.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getKey()
      Get the message key for this object.
      java.lang.String getMessage()
      Get the message content for this object.
      java.lang.String getTopic()
      Get the message topic for this object.
    • Method Detail

      • getMessage

        java.lang.String getMessage()
        Get the message content for this object.
        Returns:
        message the message
      • getKey

        java.lang.String getKey()
        Get the message key for this object.
        Returns:
        optional message key. May be null.
      • getTopic

        java.lang.String getTopic()
        Get the message topic for this object.
        Returns:
        optional message topic. May be null.
streamsx.topology 2.1 @ IBMStreams GitHub