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