Class DefaultRouteError

java.lang.Object
org.apache.camel.impl.engine.DefaultRouteError
All Implemented Interfaces:
org.apache.camel.spi.RouteError

public class DefaultRouteError extends Object implements org.apache.camel.spi.RouteError
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.camel.spi.RouteError

    org.apache.camel.spi.RouteError.Phase
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultRouteError(org.apache.camel.spi.RouteError.Phase phase, Throwable throwable)
     
    DefaultRouteError(org.apache.camel.spi.RouteError.Phase phase, Throwable throwable, boolean unhealthy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.camel.spi.RouteError.Phase
     
    boolean
     
    static void
    reset(org.apache.camel.CamelContext context, String routeId)
     
    static void
    set(org.apache.camel.CamelContext context, String routeId, org.apache.camel.spi.RouteError.Phase phase, Throwable throwable)
     
    static void
    set(org.apache.camel.CamelContext context, String routeId, org.apache.camel.spi.RouteError.Phase phase, Throwable throwable, boolean unhealthy)
     

    Methods inherited from class java.lang.Object

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

    • DefaultRouteError

      public DefaultRouteError(org.apache.camel.spi.RouteError.Phase phase, Throwable throwable)
    • DefaultRouteError

      public DefaultRouteError(org.apache.camel.spi.RouteError.Phase phase, Throwable throwable, boolean unhealthy)
  • Method Details

    • getPhase

      public org.apache.camel.spi.RouteError.Phase getPhase()
      Specified by:
      getPhase in interface org.apache.camel.spi.RouteError
    • getException

      public Throwable getException()
      Specified by:
      getException in interface org.apache.camel.spi.RouteError
    • isUnhealthy

      public boolean isUnhealthy()
      Specified by:
      isUnhealthy in interface org.apache.camel.spi.RouteError
    • set

      public static void set(org.apache.camel.CamelContext context, String routeId, org.apache.camel.spi.RouteError.Phase phase, Throwable throwable)
    • set

      public static void set(org.apache.camel.CamelContext context, String routeId, org.apache.camel.spi.RouteError.Phase phase, Throwable throwable, boolean unhealthy)
    • reset

      public static void reset(org.apache.camel.CamelContext context, String routeId)