Package org.apache.camel.component.stub
Class StubConsole
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.console.AbstractDevConsole
org.apache.camel.component.stub.StubConsole
- 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("stub")
public class StubConsole
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
Modifier and TypeFieldDescriptionstatic final String
Whether to browse messagesstatic final String
Filters the routes matching by queue namestatic final String
To use either xml or json output formatstatic final String
Limits the number of messages dumpedFields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
Fields inherited from interface org.apache.camel.console.DevConsole
CONSOLE_GROUP, CONSOLE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.camel.util.json.JsonObject
doCallJson
(Map<String, Object> options) protected String
doCallText
(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
Methods inherited from interface org.apache.camel.console.DevConsole
call
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Field Details
-
FILTER
Filters the routes matching by queue name- See Also:
-
LIMIT
Limits the number of messages dumped- See Also:
-
FORMAT
To use either xml or json output format- See Also:
-
BROWSE
Whether to browse messages- See Also:
-
-
Constructor Details
-
StubConsole
public StubConsole()
-
-
Method Details
-
doCallText
- Specified by:
doCallText
in classorg.apache.camel.support.console.AbstractDevConsole
-
doCallJson
- Specified by:
doCallJson
in classorg.apache.camel.support.console.AbstractDevConsole
-