Class RouteDumpDevConsole

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.RouteDumpDevConsole
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="route-dump", description="Dump route in XML or YAML format") public class RouteDumpDevConsole 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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Filters the routes matching by route id, route uri, and source location
    static final String
    To use either xml or yaml output format
    static final String
    Limits the number of entries displayed
    static final String
    Whether to expand URIs into separated key/value parameters

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doCall(Map<String,Object> options, Function<org.apache.camel.api.management.mbean.ManagedRouteMBean,Object> task)
     
    protected org.apache.camel.util.json.JsonObject
     
    protected String
     

    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, getInternalLock, 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

  • Constructor Details

    • RouteDumpDevConsole

      public RouteDumpDevConsole()
  • Method Details

    • doCallText

      protected String doCallText(Map<String,Object> options)
      Specified by:
      doCallText in class org.apache.camel.support.console.AbstractDevConsole
    • doCallJson

      protected org.apache.camel.util.json.JsonObject doCallJson(Map<String,Object> options)
      Specified by:
      doCallJson in class org.apache.camel.support.console.AbstractDevConsole
    • doCall

      protected void doCall(Map<String,Object> options, Function<org.apache.camel.api.management.mbean.ManagedRouteMBean,Object> task)