Interface Message

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleMessage

public interface Message extends Serializable
An interface for tuple attributes common to messaging adapters in com.teracloud.streams.topology.messaging.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the message key for this object.
    Get the message content for this object.
    Get the message topic for this object.
  • Method Details

    • getMessage

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

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

      String getTopic()
      Get the message topic for this object.
      Returns:
      optional message topic. May be null.