Package org.apache.camel.impl.console
Class BrowseDevConsole
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.BrowseDevConsole
- 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="browse",
description="Browse pending messages on Camel components")
public class BrowseDevConsole
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 StringMaximum size of the message body to include in the dumpstatic final StringWhether to include message dumpsstatic final StringFilters the endpoints matching by route id, endpoint urlstatic final StringWhether to calculate fresh queue size (can cause performance overhead)static final StringWhether to include message body in dumpsstatic final StringLimits the number of entries per endpointstatic final StringTo receive N last messages from the tailFields 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 org.apache.camel.util.json.JsonObjectdoCallJson(Map<String, Object> options) protected StringdoCallText(Map<String, Object> options) intintgetLimit()voidsetBodyMaxChars(int bodyMaxChars) voidsetLimit(int limit) 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, getInternalLock, 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 endpoints matching by route id, endpoint url- See Also:
-
LIMIT
Limits the number of entries per endpoint- See Also:
-
TAIL
To receive N last messages from the tail- See Also:
-
DUMP
Whether to include message dumps- See Also:
-
INCLUDE_BODY
Whether to include message body in dumps- See Also:
-
FRESH_SIZE
Whether to calculate fresh queue size (can cause performance overhead)- See Also:
-
BODY_MAX_CHARS
Maximum size of the message body to include in the dump- See Also:
-
-
Constructor Details
-
BrowseDevConsole
public BrowseDevConsole()
-
-
Method Details
-
getBodyMaxChars
public int getBodyMaxChars() -
setBodyMaxChars
public void setBodyMaxChars(int bodyMaxChars) -
getLimit
public int getLimit() -
setLimit
public void setLimit(int limit) -
doCallText
- Specified by:
doCallTextin classorg.apache.camel.support.console.AbstractDevConsole
-
doCallJson
- Specified by:
doCallJsonin classorg.apache.camel.support.console.AbstractDevConsole
-