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
-
Method Details
-
type
String type()Returns the type of dead lettering cause. Thetypecan, for example, reflect the fully qualified class name of aThrowable.- Returns:
- The type of this dead lettering cause.
-
message
String message()A message describing a cause for dead lettering. Themessage()can, for example, reflect the message of aThrowable.- Returns:
- The message describing this cause's reason for dead lettering.
-