Class CamelReceiveAction

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.CamelCommand
org.apache.camel.dsl.jbang.core.commands.action.CamelReceiveAction
All Implemented Interfaces:
Callable<Integer>

public class CamelReceiveAction extends CamelCommand
  • Constructor Details

  • Method Details

    • doCall

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

      protected org.apache.camel.util.json.JsonObject waitForOutputFile(File outputFile)
    • doStatusCall

      protected Integer doStatusCall()
    • sortStatusRow

      protected int sortStatusRow(org.apache.camel.dsl.jbang.core.commands.action.CamelReceiveAction.StatusRow o1, org.apache.camel.dsl.jbang.core.commands.action.CamelReceiveAction.StatusRow o2)
    • doDumpCall

      protected Integer doDumpCall() throws Exception
      Throws:
      Exception
    • printDump

      protected void printDump(String name, int pids, org.apache.camel.dsl.jbang.core.commands.action.CamelReceiveAction.Row row, Date limit)
    • getEndpointUri

      protected String getEndpointUri(org.apache.camel.dsl.jbang.core.commands.action.CamelReceiveAction.StatusRow r)
    • getMessageAgo

      protected String getMessageAgo(org.apache.camel.dsl.jbang.core.commands.action.CamelReceiveAction.StatusRow r)
    • getJsonObject

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