Package org.apache.camel.impl.console
Class RouteDevConsole
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.console.AbstractDevConsole
org.apache.camel.impl.console.RouteDevConsole
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.console.DevConsole,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasCamelContext,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
@DevConsole(name="route",
description="Route information")
public class RouteDevConsole
extends org.apache.camel.support.console.AbstractDevConsole
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.console.DevConsole
org.apache.camel.console.DevConsole.MediaType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAction to perform such as start,stop,suspend,resume on one or more routesstatic final StringFilters the routes matching by route id, route uri, and source locationstatic final StringLimits the number of entries displayedstatic final StringWhether to include processorsFields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDINGFields inherited from interface org.apache.camel.console.DevConsole
CONSOLE_GROUP, CONSOLE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voiddoCall(Map<String, Object> options, Function<org.apache.camel.api.management.mbean.ManagedRouteMBean, Object> task) protected org.apache.camel.util.json.JsonObjectdoCallJson(Map<String, Object> options) protected StringdoCallText(Map<String, Object> options) Methods inherited from class org.apache.camel.support.console.AbstractDevConsole
call, equals, getCamelContext, getDescription, getDisplayName, getGroup, getId, hashCode, setCamelContext, supportMediaTypeMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.console.DevConsole
callMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Field Details
-
FILTER
Filters the routes matching by route id, route uri, and source location- See Also:
-
LIMIT
Limits the number of entries displayed- See Also:
-
PROCESSORS
Whether to include processors- See Also:
-
ACTION
Action to perform such as start,stop,suspend,resume on one or more routes- See Also:
-
-
Constructor Details
-
RouteDevConsole
public RouteDevConsole()
-
-
Method Details
-
doCallText
- Specified by:
doCallTextin classorg.apache.camel.support.console.AbstractDevConsole
-
doCallJson
- Specified by:
doCallJsonin classorg.apache.camel.support.console.AbstractDevConsole
-
doCall
-
doAction
-