org.apache.camel.management.mbean
Class ManagedTracer
java.lang.Object
org.apache.camel.management.mbean.ManagedTracer
- All Implemented Interfaces:
- ManagedTracerMBean, NotificationSenderAware
@ManagedResource(description="Managed Tracer")
@ManagedNotifications(value=@ManagedNotification(name="javax.management.Notification",description="Fine grained trace events",notificationTypes="TraceNotification"))
public class ManagedTracer
- extends Object
- implements NotificationSenderAware, ManagedTracerMBean
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedTracer
public ManagedTracer(CamelContext camelContext,
Tracer tracer)
init
public void init(ManagementStrategy strategy)
getContext
public CamelContext getContext()
getTracer
public Tracer getTracer()
getEnabled
public boolean getEnabled()
- Specified by:
getEnabled
in interface ManagedTracerMBean
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interface ManagedTracerMBean
getDestinationUri
public String getDestinationUri()
- Specified by:
getDestinationUri
in interface ManagedTracerMBean
setDestinationUri
public void setDestinationUri(String uri)
- Specified by:
setDestinationUri
in interface ManagedTracerMBean
getLogName
public String getLogName()
- Specified by:
getLogName
in interface ManagedTracerMBean
getUseJpa
public boolean getUseJpa()
- Specified by:
getUseJpa
in interface ManagedTracerMBean
setLogName
public void setLogName(String logName)
- Specified by:
setLogName
in interface ManagedTracerMBean
getLogLevel
public String getLogLevel()
- Specified by:
getLogLevel
in interface ManagedTracerMBean
setLogLevel
public void setLogLevel(String logLevel)
- Specified by:
setLogLevel
in interface ManagedTracerMBean
getLogStackTrace
public boolean getLogStackTrace()
- Specified by:
getLogStackTrace
in interface ManagedTracerMBean
setLogStackTrace
public void setLogStackTrace(boolean logStackTrace)
- Specified by:
setLogStackTrace
in interface ManagedTracerMBean
getTraceInterceptors
public boolean getTraceInterceptors()
- Specified by:
getTraceInterceptors
in interface ManagedTracerMBean
setTraceInterceptors
public void setTraceInterceptors(boolean traceInterceptors)
- Specified by:
setTraceInterceptors
in interface ManagedTracerMBean
getTraceExceptions
public boolean getTraceExceptions()
- Specified by:
getTraceExceptions
in interface ManagedTracerMBean
setTraceExceptions
public void setTraceExceptions(boolean traceExceptions)
- Specified by:
setTraceExceptions
in interface ManagedTracerMBean
getTraceOutExchanges
public boolean getTraceOutExchanges()
- Specified by:
getTraceOutExchanges
in interface ManagedTracerMBean
setTraceOutExchanges
public void setTraceOutExchanges(boolean traceOutExchanges)
- Specified by:
setTraceOutExchanges
in interface ManagedTracerMBean
getFormatterShowBody
public boolean getFormatterShowBody()
- Specified by:
getFormatterShowBody
in interface ManagedTracerMBean
setFormatterShowBody
public void setFormatterShowBody(boolean showBody)
- Specified by:
setFormatterShowBody
in interface ManagedTracerMBean
getFormatterShowBodyType
public boolean getFormatterShowBodyType()
- Specified by:
getFormatterShowBodyType
in interface ManagedTracerMBean
setFormatterShowBodyType
public void setFormatterShowBodyType(boolean showBodyType)
- Specified by:
setFormatterShowBodyType
in interface ManagedTracerMBean
getFormatterShowOutBody
public boolean getFormatterShowOutBody()
- Specified by:
getFormatterShowOutBody
in interface ManagedTracerMBean
setFormatterShowOutBody
public void setFormatterShowOutBody(boolean showOutBody)
- Specified by:
setFormatterShowOutBody
in interface ManagedTracerMBean
getFormatterShowOutBodyType
public boolean getFormatterShowOutBodyType()
- Specified by:
getFormatterShowOutBodyType
in interface ManagedTracerMBean
setFormatterShowOutBodyType
public void setFormatterShowOutBodyType(boolean showOutBodyType)
- Specified by:
setFormatterShowOutBodyType
in interface ManagedTracerMBean
getFormatterShowBreadCrumb
public boolean getFormatterShowBreadCrumb()
- Specified by:
getFormatterShowBreadCrumb
in interface ManagedTracerMBean
setFormatterShowBreadCrumb
public void setFormatterShowBreadCrumb(boolean showBreadCrumb)
- Specified by:
setFormatterShowBreadCrumb
in interface ManagedTracerMBean
getFormatterShowExchangeId
public boolean getFormatterShowExchangeId()
- Specified by:
getFormatterShowExchangeId
in interface ManagedTracerMBean
setFormatterShowExchangeId
public void setFormatterShowExchangeId(boolean showExchangeId)
- Specified by:
setFormatterShowExchangeId
in interface ManagedTracerMBean
getFormatterShowHeaders
public boolean getFormatterShowHeaders()
- Specified by:
getFormatterShowHeaders
in interface ManagedTracerMBean
setFormatterShowHeaders
public void setFormatterShowHeaders(boolean showHeaders)
- Specified by:
setFormatterShowHeaders
in interface ManagedTracerMBean
getFormatterShowOutHeaders
public boolean getFormatterShowOutHeaders()
- Specified by:
getFormatterShowOutHeaders
in interface ManagedTracerMBean
setFormatterShowOutHeaders
public void setFormatterShowOutHeaders(boolean showOutHeaders)
- Specified by:
setFormatterShowOutHeaders
in interface ManagedTracerMBean
getFormatterShowProperties
public boolean getFormatterShowProperties()
- Specified by:
getFormatterShowProperties
in interface ManagedTracerMBean
setFormatterShowProperties
public void setFormatterShowProperties(boolean showProperties)
- Specified by:
setFormatterShowProperties
in interface ManagedTracerMBean
getFormatterShowNode
public boolean getFormatterShowNode()
- Specified by:
getFormatterShowNode
in interface ManagedTracerMBean
setFormatterShowNode
public void setFormatterShowNode(boolean showNode)
- Specified by:
setFormatterShowNode
in interface ManagedTracerMBean
getFormatterShowExchangePattern
public boolean getFormatterShowExchangePattern()
- Specified by:
getFormatterShowExchangePattern
in interface ManagedTracerMBean
setFormatterShowExchangePattern
public void setFormatterShowExchangePattern(boolean showExchangePattern)
- Specified by:
setFormatterShowExchangePattern
in interface ManagedTracerMBean
getFormatterShowException
public boolean getFormatterShowException()
- Specified by:
getFormatterShowException
in interface ManagedTracerMBean
setFormatterShowException
public void setFormatterShowException(boolean showException)
- Specified by:
setFormatterShowException
in interface ManagedTracerMBean
getFormatterShowRouteId
public boolean getFormatterShowRouteId()
- Specified by:
getFormatterShowRouteId
in interface ManagedTracerMBean
setFormatterShowRouteId
public void setFormatterShowRouteId(boolean showRouteId)
- Specified by:
setFormatterShowRouteId
in interface ManagedTracerMBean
getFormatterBreadCrumbLength
public int getFormatterBreadCrumbLength()
- Specified by:
getFormatterBreadCrumbLength
in interface ManagedTracerMBean
setFormatterBreadCrumbLength
public void setFormatterBreadCrumbLength(int breadCrumbLength)
- Specified by:
setFormatterBreadCrumbLength
in interface ManagedTracerMBean
getFormatterShowShortExchangeId
public boolean getFormatterShowShortExchangeId()
- Specified by:
getFormatterShowShortExchangeId
in interface ManagedTracerMBean
setFormatterShowShortExchangeId
public void setFormatterShowShortExchangeId(boolean showShortExchangeId)
- Specified by:
setFormatterShowShortExchangeId
in interface ManagedTracerMBean
getFormatterNodeLength
public int getFormatterNodeLength()
- Specified by:
getFormatterNodeLength
in interface ManagedTracerMBean
setFormatterNodeLength
public void setFormatterNodeLength(int nodeLength)
- Specified by:
setFormatterNodeLength
in interface ManagedTracerMBean
getFormatterMaxChars
public int getFormatterMaxChars()
- Specified by:
getFormatterMaxChars
in interface ManagedTracerMBean
setFormatterMaxChars
public void setFormatterMaxChars(int maxChars)
- Specified by:
setFormatterMaxChars
in interface ManagedTracerMBean
isJmxTraceNotifications
public boolean isJmxTraceNotifications()
- Specified by:
isJmxTraceNotifications
in interface ManagedTracerMBean
setJmxTraceNotifications
public void setJmxTraceNotifications(boolean jmxTraceNotifications)
- Specified by:
setJmxTraceNotifications
in interface ManagedTracerMBean
getTraceBodySize
public int getTraceBodySize()
- Specified by:
getTraceBodySize
in interface ManagedTracerMBean
setTraceBodySize
public void setTraceBodySize(int traceBodySize)
- Specified by:
setTraceBodySize
in interface ManagedTracerMBean
setNotificationSender
public void setNotificationSender(NotificationSender sender)
- Description copied from interface:
NotificationSenderAware
NotificationSender
to use for sending notifications.
- Specified by:
setNotificationSender
in interface NotificationSenderAware
- Parameters:
sender
- sender to use for sending notifications
Apache CAMEL