Package org.apache.camel.impl.engine
Class DefaultRouteError
java.lang.Object
org.apache.camel.impl.engine.DefaultRouteError
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionDefaultRouteError
(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 TypeMethodDescriptiongetDate()
org.apache.camel.spi.RouteError.Phase
getPhase()
boolean
static void
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)
-
Constructor Details
-
DefaultRouteError
-
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 interfaceorg.apache.camel.spi.RouteError
-
getException
- Specified by:
getException
in interfaceorg.apache.camel.spi.RouteError
-
isUnhealthy
public boolean isUnhealthy()- Specified by:
isUnhealthy
in interfaceorg.apache.camel.spi.RouteError
-
getDate
- Specified by:
getDate
in interfaceorg.apache.camel.spi.RouteError
-
set
-
set
-
reset
-