Package org.apache.camel.spi
Interface RouteError
-
public interface RouteError
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RouteError.Phase
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Throwable
getException()
Gets the error.RouteError.Phase
getPhase()
Gets the phase associated with the error.boolean
isUnhealthy()
Whether the route is regarded as unhealthy.
-
-
-
Method Detail
-
getPhase
RouteError.Phase getPhase()
Gets the phase associated with the error.- Returns:
- the phase.
-
getException
Throwable getException()
Gets the error.- Returns:
- the error.
-
isUnhealthy
boolean isUnhealthy()
Whether the route is regarded as unhealthy.
-
-