public final class ErrorMessageUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FAILED_MESSAGE_CONTEXT_KEY
The context key for the message object.
|
static String |
INPUT_MESSAGE_CONTEXT_KEY
The context key for the message object.
|
Modifier and Type | Method and Description |
---|---|
static AttributeAccessor |
getAttributeAccessor(Message<?> inputMessage,
Message<?> failedMessage)
Return a
AttributeAccessor for the provided arguments. |
public static final String FAILED_MESSAGE_CONTEXT_KEY
public static final String INPUT_MESSAGE_CONTEXT_KEY
public static AttributeAccessor getAttributeAccessor(@Nullable Message<?> inputMessage, @Nullable Message<?> failedMessage)
AttributeAccessor
for the provided arguments.inputMessage
- the input message.failedMessage
- the failed message.