Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.camel.console.DevConsole

        org.apache.camel.console.DevConsole.MediaType
    • Field Summary

      • Fields 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

      Constructors 
      Constructor Description
      EventConsole()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.camel.util.json.JsonObject doCallJson​(Map<String,​Object> options)
      Invokes and gets the output from this console in json format.
      protected String doCallText​(Map<String,​Object> options)
      Invokes and gets the output from this console in text format.
      protected void doInit()  
      protected void doStart()  
      protected void doStop()  
      int getCapacity()  
      void setCapacity​(int capacity)  
      • 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 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
    • Constructor Detail

      • EventConsole

        public EventConsole()
    • Method Detail

      • getCapacity

        public int getCapacity()
      • setCapacity

        public void setCapacity​(int capacity)
      • doInit

        protected void doInit()
                       throws Exception
        Overrides:
        doInit in class org.apache.camel.support.service.BaseService
        Throws:
        Exception
      • doStart

        protected void doStart()
                        throws Exception
        Overrides:
        doStart in class org.apache.camel.support.service.BaseService
        Throws:
        Exception
      • doStop

        protected void doStop()
                       throws Exception
        Overrides:
        doStop in class org.apache.camel.support.service.BaseService
        Throws:
        Exception
      • doCallJson

        protected org.apache.camel.util.json.JsonObject doCallJson​(Map<String,​Object> options)
        Description copied from class: AbstractDevConsole
        Invokes and gets the output from this console in json format.
        Specified by:
        doCallJson in class AbstractDevConsole
        See Also:
        DevConsole.call(MediaType, Map)