Class ErrorMessageUtils
java.lang.Object
org.springframework.integration.support.ErrorMessageUtils
Utilities for building error messages.
- Since:
- 4.3.10
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeAccessor
getAttributeAccessor
(Message<?> inputMessage, Message<?> failedMessage) Return aAttributeAccessor
for the provided arguments.
-
Field Details
-
FAILED_MESSAGE_CONTEXT_KEY
The context key for the message object.- See Also:
-
INPUT_MESSAGE_CONTEXT_KEY
The context key for the message object.- See Also:
-
-
Method Details
-
getAttributeAccessor
public static AttributeAccessor getAttributeAccessor(@Nullable Message<?> inputMessage, @Nullable Message<?> failedMessage) Return aAttributeAccessor
for the provided arguments.- Parameters:
inputMessage
- the input message.failedMessage
- the failed message.- Returns:
- the context.
-