Class CamelRouteAction

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.CamelCommand
org.apache.camel.dsl.jbang.core.commands.action.CamelRouteAction
All Implemented Interfaces:
Callable<Integer>
Direct Known Subclasses:
CamelRouteResumeAction, CamelRouteStartAction, CamelRouteStopAction, CamelRouteSuspendAction

public abstract class CamelRouteAction extends CamelCommand
  • Constructor Details

  • Method Details

    • doCall

      public Integer doCall() throws Exception
      Specified by:
      doCall in class CamelCommand
      Throws:
      Exception
    • onAction

      protected abstract void onAction(org.apache.camel.util.json.JsonObject root)
    • getJsonObject

      protected static org.apache.camel.util.json.JsonObject getJsonObject(File outputFile)