Package org.apache.camel.impl.console
Class EventConsole
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.impl.console.AbstractDevConsole
-
- org.apache.camel.impl.console.EventConsole
-
- 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("event") @Configurer(bootstrap=true) public class EventConsole extends AbstractDevConsole
-
-
Constructor Summary
Constructors Constructor Description EventConsole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.camel.util.json.JsonObjectdoCallJson(Map<String,Object> options)Invokes and gets the output from this console in json format.protected StringdoCallText(Map<String,Object> options)Invokes and gets the output from this console in text format.protected voiddoInit()protected voiddoStart()protected voiddoStop()intgetCapacity()voidsetCapacity(int capacity)-
Methods inherited from class org.apache.camel.impl.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, doLifecycleChange, doResume, doShutdown, 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
-
-
-
-
Method Detail
-
getCapacity
public int getCapacity()
-
setCapacity
public void setCapacity(int capacity)
-
doInit
protected void doInit() throws Exception- Overrides:
doInitin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doStart
protected void doStart() throws Exception- Overrides:
doStartin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doStop
protected void doStop() throws Exception- Overrides:
doStopin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doCallText
protected String doCallText(Map<String,Object> options)
Description copied from class:AbstractDevConsoleInvokes and gets the output from this console in text format.- Specified by:
doCallTextin classAbstractDevConsole- See Also:
DevConsole.call(MediaType, Map)
-
doCallJson
protected org.apache.camel.util.json.JsonObject doCallJson(Map<String,Object> options)
Description copied from class:AbstractDevConsoleInvokes and gets the output from this console in json format.- Specified by:
doCallJsonin classAbstractDevConsole- See Also:
DevConsole.call(MediaType, Map)
-
-