Class ErrorMessageUtils

java.lang.Object
org.springframework.integration.support.ErrorMessageUtils

public final class ErrorMessageUtils
extends java.lang.Object
Utilities for building error messages.
Since:
4.3.10
  • Field Summary

    Fields 
    Modifier and Type Field 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.
  • Method Summary

    Modifier and Type Method Description
    static org.springframework.core.AttributeAccessor getAttributeAccessor​(org.springframework.messaging.Message<?> inputMessage, org.springframework.messaging.Message<?> failedMessage)
    Return a AttributeAccessor for the provided arguments.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • getAttributeAccessor

      public static org.springframework.core.AttributeAccessor getAttributeAccessor​(@Nullable org.springframework.messaging.Message<?> inputMessage, @Nullable org.springframework.messaging.Message<?> failedMessage)
      Return a AttributeAccessor for the provided arguments.
      Parameters:
      inputMessage - the input message.
      failedMessage - the failed message.
      Returns:
      the context.