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.StatefulService,org.apache.camel.SuspendableService
@DevConsole("route") public class RouteDevConsole extends org.apache.camel.support.console.AbstractDevConsole
-
-
Field Summary
Fields Modifier and Type Field Description static StringFILTERFilters the routes matching by route id, route uri, and source locationstatic StringLIMITLimits the number of entries displayedstatic StringPROCESSORSWhether to include processors
-
Constructor Summary
Constructors Constructor Description RouteDevConsole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, supportMediaType
-
Methods 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, suspend
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
FILTER
public static final String FILTER
Filters the routes matching by route id, route uri, and source location- See Also:
- Constant Field Values
-
LIMIT
public static final String LIMIT
Limits the number of entries displayed- See Also:
- Constant Field Values
-
PROCESSORS
public static final String PROCESSORS
Whether to include processors- See Also:
- Constant Field Values
-
-
Method Detail
-
doCallText
protected String doCallText(Map<String,Object> options)
- Specified by:
doCallTextin classorg.apache.camel.support.console.AbstractDevConsole
-
doCallJson
protected org.apache.camel.util.json.JsonObject doCallJson(Map<String,Object> options)
- Specified by:
doCallJsonin classorg.apache.camel.support.console.AbstractDevConsole
-
-