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 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 String FAILED_MESSAGE_CONTEXT_KEY
public static final 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.