Interface ErrorRegistryEntry


public interface ErrorRegistryEntry
A snapshot of an error that occurred during message routing.

This is an immutable value object that does not hold references to the original exchange or exception.

  • Method Details

    • exchangeId

      String exchangeId()
      The exchange id
    • routeId

      String routeId()
      The route id where the error occurred
    • endpointUri

      String endpointUri()
      The endpoint URI where the error occurred (if available)
    • timestamp

      Instant timestamp()
      The timestamp when the error occurred
    • handled

      boolean handled()
      Whether the error was handled by an error handler or onException
    • exceptionType

      String exceptionType()
      The fully qualified class name of the exception
    • exceptionMessage

      String exceptionMessage()
      The exception message
    • stackTrace

      String[] stackTrace()
      The stack trace lines, or null if stack trace capture is disabled.

      Each element represents one line of the stack trace.

    • messageHistory

      String[] messageHistory()
      The message history trace, or null if message history is not enabled.

      Each element represents one step in the routing history (e.g. "routeId[nodeId]").