public interface ManagedBacklogTracerMBean
Modifier and Type | Method and Description |
---|---|
void |
clear() |
List<BacklogTracerEventMessage> |
dumpAllTracedMessages() |
String |
dumpAllTracedMessagesAsXml() |
List<BacklogTracerEventMessage> |
dumpTracedMessages(String nodeOrRouteId) |
String |
dumpTracedMessagesAsXml(String nodeOrRouteId) |
int |
getBacklogSize() |
int |
getBodyMaxChars() |
long |
getTraceCounter() |
String |
getTraceFilter() |
String |
getTracePattern() |
boolean |
isBodyIncludeFiles() |
boolean |
isBodyIncludeStreams() |
boolean |
isEnabled() |
boolean |
isRemoveOnDump() |
void |
resetTraceCounter() |
void |
setBacklogSize(int backlogSize) |
void |
setBodyIncludeFiles(boolean bodyIncludeFiles) |
void |
setBodyIncludeStreams(boolean bodyIncludeStreams) |
void |
setBodyMaxChars(int bodyMaxChars) |
void |
setEnabled(boolean enabled) |
void |
setRemoveOnDump(boolean removeOnDump) |
void |
setTraceFilter(String predicate) |
void |
setTracePattern(String pattern) |
@ManagedAttribute(description="Is tracing enabled") boolean isEnabled()
@ManagedAttribute(description="Is tracing enabled") void setEnabled(boolean enabled)
@ManagedAttribute(description="Number of maximum traced messages in total to keep in the backlog (FIFO queue)") int getBacklogSize()
@ManagedAttribute(description="Number of maximum traced messages in total to keep in the backlog (FIFO queue)") void setBacklogSize(int backlogSize)
@ManagedAttribute(description="Whether to remove traced message from backlog when dumping trace messages") boolean isRemoveOnDump()
@ManagedAttribute(description="Whether to remove traced message from backlog when dumping trace messages") void setRemoveOnDump(boolean removeOnDump)
@ManagedAttribute(description="To filter tracing by nodes (pattern)") void setTracePattern(String pattern)
@ManagedAttribute(description="To filter tracing by nodes (pattern)") String getTracePattern()
@ManagedAttribute(description="To filter tracing by predicate (uses simple language by default)") void setTraceFilter(String predicate)
@ManagedAttribute(description="To filter tracing by predicate (uses simple language by default)") String getTraceFilter()
@ManagedAttribute(description="Number of total traced messages") long getTraceCounter()
@ManagedOperation(description="Resets the trace counter") void resetTraceCounter()
@ManagedAttribute(description="Number of maximum chars in the message body in the trace message. Use zero or negative value to have unlimited size.") int getBodyMaxChars()
@ManagedAttribute(description="Number of maximum chars in the message body in the trace message. Use zero or negative value to have unlimited size.") void setBodyMaxChars(int bodyMaxChars)
@ManagedAttribute(description="Whether to include stream based message body in the trace message.") boolean isBodyIncludeStreams()
@ManagedAttribute(description="Whether to include stream based message body in the trace message.") void setBodyIncludeStreams(boolean bodyIncludeStreams)
@ManagedAttribute(description="Whether to include file based message body in the trace message.") boolean isBodyIncludeFiles()
@ManagedAttribute(description="Whether to include file based message body in the trace message.") void setBodyIncludeFiles(boolean bodyIncludeFiles)
@ManagedOperation(description="Dumps the traced messages for the given node or route") List<BacklogTracerEventMessage> dumpTracedMessages(String nodeOrRouteId)
@ManagedOperation(description="Dumps the traced messages for the given node or route in xml format") String dumpTracedMessagesAsXml(String nodeOrRouteId)
@ManagedOperation(description="Dumps all the traced messages") List<BacklogTracerEventMessage> dumpAllTracedMessages()
@ManagedOperation(description="Dumps all the traced messages in xml format") String dumpAllTracedMessagesAsXml()
@ManagedOperation(description="Clears the backlog") void clear()
Apache Camel