Class MessageTableHelper
java.lang.Object
org.apache.camel.dsl.jbang.core.commands.action.MessageTableHelper
Helper to output message details (headers, body) in a table like structure with pretty and color supported.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataAsTable(String exchangeId, String exchangePattern, org.apache.camel.util.json.JsonObject endpoint, org.apache.camel.util.json.JsonObject endpointService, org.apache.camel.util.json.JsonObject root, org.apache.camel.util.json.JsonObject cause) booleanbooleanisPretty()booleanbooleanvoidsetExchangeIdColorChooser(MessageTableHelper.ColorChooser exchangeIdColorChooser) voidsetLoggingColor(boolean loggingColor) voidsetPretty(boolean pretty) voidsetShowExchangeProperties(boolean showExchangeProperties) voidsetShowExchangeVariables(boolean showExchangeVariables)
-
Constructor Details
-
MessageTableHelper
public MessageTableHelper()
-
-
Method Details
-
isLoggingColor
public boolean isLoggingColor() -
setLoggingColor
public void setLoggingColor(boolean loggingColor) -
isPretty
public boolean isPretty() -
setPretty
public void setPretty(boolean pretty) -
isShowExchangeProperties
public boolean isShowExchangeProperties() -
setShowExchangeProperties
public void setShowExchangeProperties(boolean showExchangeProperties) -
isShowExchangeVariables
public boolean isShowExchangeVariables() -
setShowExchangeVariables
public void setShowExchangeVariables(boolean showExchangeVariables) -
getExchangeIdColorChooser
-
setExchangeIdColorChooser
-
getDataAsTable
-