Interface Cause

All Known Implementing Classes:
ThrowableCause

public interface Cause
Contract describing the cause for dead lettering a Message. These objects typically reflects a Throwable.
Since:
4.6.0
Author:
Steven van Beelen, Mitchell Herrijgers
  • Method Summary

    Modifier and Type
    Method
    Description
    A message describing a cause for dead lettering.
    Returns the type of dead lettering cause.
  • Method Details

    • type

      String type()
      Returns the type of dead lettering cause. The type can, for example, reflect the fully qualified class name of a Throwable.
      Returns:
      The type of this dead lettering cause.
    • message

      String message()
      A message describing a cause for dead lettering. The message() can, for example, reflect the message of a Throwable.
      Returns:
      The message describing this cause's reason for dead lettering.