Class Message<T>

java.lang.Object
org.kryonite.kryomessaging.service.message.Message<T>

public class Message<T> extends Object
  • Method Details

    • getExchange

      public String getExchange()
    • getBody

      public T getBody()
    • getRoutingKey

      public String getRoutingKey()
    • setRoutingKey

      public void setRoutingKey(String routingKey)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • create

      public static <T> Message<T> create(String exchange, T body)
    • create

      public static <T> Message<T> create(String exchange, T body, String routingKey)