@Deprecated public class DefaultTraceFormatter extends Object implements TraceFormatter
Constructor and Description |
---|
DefaultTraceFormatter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
extractBreadCrumb(TraceInterceptor interceptor,
ProcessorDefinition<?> currentNode,
Exchange exchange)
Deprecated.
Creates the breadcrumb based on whether this was a trace of
an exchange coming out of or into a processing step.
|
protected String |
extractRoute(ProcessorDefinition<?> node)
Deprecated.
|
Object |
format(TraceInterceptor interceptor,
ProcessorDefinition<?> node,
Exchange exchange)
Deprecated.
Formats a log message at given point of interception.
|
protected Object |
getBreadCrumbID(Exchange exchange)
Deprecated.
|
int |
getBreadCrumbLength()
Deprecated.
|
int |
getMaxChars()
Deprecated.
|
int |
getNodeLength()
Deprecated.
|
protected String |
getNodeMessage(RouteNode entry,
Exchange exchange)
Deprecated.
|
boolean |
isMultiline()
Deprecated.
|
boolean |
isShowBody()
Deprecated.
|
boolean |
isShowBodyType()
Deprecated.
|
boolean |
isShowBreadCrumb()
Deprecated.
|
boolean |
isShowException()
Deprecated.
|
boolean |
isShowExchangeId()
Deprecated.
|
boolean |
isShowExchangePattern()
Deprecated.
|
boolean |
isShowHeaders()
Deprecated.
|
boolean |
isShowNode()
Deprecated.
|
boolean |
isShowOutBody()
Deprecated.
|
boolean |
isShowOutBodyType()
Deprecated.
|
boolean |
isShowOutHeaders()
Deprecated.
|
boolean |
isShowProperties()
Deprecated.
|
boolean |
isShowRouteId()
Deprecated.
|
boolean |
isShowShortExchangeId()
Deprecated.
|
void |
setBreadCrumbLength(int breadCrumbLength)
Deprecated.
|
void |
setMaxChars(int maxChars)
Deprecated.
|
void |
setMultiline(boolean multiline)
Deprecated.
|
void |
setNodeLength(int nodeLength)
Deprecated.
|
void |
setShowBody(boolean showBody)
Deprecated.
|
void |
setShowBodyType(boolean showBodyType)
Deprecated.
|
void |
setShowBreadCrumb(boolean showBreadCrumb)
Deprecated.
|
void |
setShowException(boolean showException)
Deprecated.
|
void |
setShowExchangeId(boolean showExchangeId)
Deprecated.
|
void |
setShowExchangePattern(boolean showExchangePattern)
Deprecated.
|
void |
setShowHeaders(boolean showHeaders)
Deprecated.
|
void |
setShowNode(boolean showNode)
Deprecated.
|
void |
setShowOutBody(boolean showOutBody)
Deprecated.
|
void |
setShowOutBodyType(boolean showOutBodyType)
Deprecated.
|
void |
setShowOutHeaders(boolean showOutHeaders)
Deprecated.
|
void |
setShowProperties(boolean showProperties)
Deprecated.
|
void |
setShowRouteId(boolean showRouteId)
Deprecated.
|
void |
setShowShortExchangeId(boolean showShortExchangeId)
Deprecated.
|
public DefaultTraceFormatter()
public Object format(TraceInterceptor interceptor, ProcessorDefinition<?> node, Exchange exchange)
TraceFormatter
format
in interface TraceFormatter
interceptor
- the tracing interceptornode
- the node where the interception occurredexchange
- the current exchangepublic boolean isShowBody()
public void setShowBody(boolean showBody)
public boolean isShowBodyType()
public void setShowBodyType(boolean showBodyType)
public void setShowOutBody(boolean showOutBody)
public boolean isShowOutBody()
public void setShowOutBodyType(boolean showOutBodyType)
public boolean isShowOutBodyType()
public boolean isShowBreadCrumb()
public void setShowBreadCrumb(boolean showBreadCrumb)
public boolean isShowExchangeId()
public void setShowExchangeId(boolean showExchangeId)
public boolean isShowHeaders()
public void setShowHeaders(boolean showHeaders)
public boolean isShowOutHeaders()
public void setShowOutHeaders(boolean showOutHeaders)
public boolean isShowProperties()
public void setShowProperties(boolean showProperties)
public boolean isShowNode()
public void setShowNode(boolean showNode)
public boolean isShowExchangePattern()
public void setShowExchangePattern(boolean showExchangePattern)
public boolean isShowException()
public void setShowException(boolean showException)
public boolean isShowRouteId()
public void setShowRouteId(boolean showRouteId)
public boolean isMultiline()
public void setMultiline(boolean multiline)
public int getBreadCrumbLength()
public void setBreadCrumbLength(int breadCrumbLength)
public boolean isShowShortExchangeId()
public void setShowShortExchangeId(boolean showShortExchangeId)
public int getNodeLength()
public void setNodeLength(int nodeLength)
public int getMaxChars()
public void setMaxChars(int maxChars)
protected String extractRoute(ProcessorDefinition<?> node)
protected Object getBreadCrumbID(Exchange exchange)
protected String getNodeMessage(RouteNode entry, Exchange exchange)
protected String extractBreadCrumb(TraceInterceptor interceptor, ProcessorDefinition<?> currentNode, Exchange exchange)
Apache Camel