org.apache.camel.api.management.mbean
Interface ManagedBacklogDebuggerMBean

All Known Implementing Classes:
ManagedBacklogDebugger

public interface ManagedBacklogDebuggerMBean


Method Summary
 void addBreakpoint(String nodeId)
           
 void addConditionalBreakpoint(String nodeId, String language, String predicate)
           
 void disableBreakpoint(String nodeId)
           
 void disableDebugger()
           
 String dumpTracedMessagesAsXml(String nodeId)
           
 void enableBreakpoint(String nodeId)
           
 void enableDebugger()
           
 int getBodyMaxChars()
           
 Set<String> getBreakpoints()
           
 long getDebugCounter()
           
 String getLoggingLevel()
           
 Set<String> getSuspendedBreakpointNodeIds()
           
 boolean isBodyIncludeFiles()
           
 boolean isBodyIncludeStreams()
           
 boolean isEnabled()
           
 boolean isSingleStepMode()
           
 void removeAllBreakpoints()
           
 void removeBreakpoint(String nodeId)
           
 void resetDebugCounter()
           
 void resumeAll()
           
 void resumeBreakpoint(String nodeId)
           
 void setBodyIncludeFiles(boolean bodyIncludeFiles)
           
 void setBodyIncludeStreams(boolean bodyIncludeStreams)
           
 void setBodyMaxChars(int bodyMaxChars)
           
 void setLoggingLevel(String level)
           
 void setMessageBodyOnBreakpoint(String nodeId, String body)
           
 void setMessageHeaderOnBreakpoint(String nodeId, String headerName, String value)
           
 void step()
           
 void stepBreakpoint(String nodeId)
           
 

Method Detail

getLoggingLevel

@ManagedAttribute(description="Logging Level")
String getLoggingLevel()

setLoggingLevel

@ManagedAttribute(description="Logging Level")
void setLoggingLevel(String level)

isEnabled

@ManagedAttribute(description="Is debugger enabled")
boolean isEnabled()

enableDebugger

@ManagedOperation(description="Enable the debugger")
void enableDebugger()

disableDebugger

@ManagedOperation(description="Disable the debugger")
void disableDebugger()

addBreakpoint

@ManagedOperation(description="Add a breakpoint at the given node id")
void addBreakpoint(String nodeId)

addConditionalBreakpoint

@ManagedOperation(description="Add a conditional breakpoint at the given node id")
void addConditionalBreakpoint(String nodeId,
                                                          String language,
                                                          String predicate)

removeBreakpoint

@ManagedOperation(description="Remote the breakpoint from the given node id (will resume suspend breakpoint first)")
void removeBreakpoint(String nodeId)

removeAllBreakpoints

@ManagedOperation(description="Remote all breakpoints (will resume all suspend breakpoints first and exists single step mode)")
void removeAllBreakpoints()

resumeBreakpoint

@ManagedOperation(description="Resume running from the suspended breakpoint at the given node id")
void resumeBreakpoint(String nodeId)

setMessageBodyOnBreakpoint

@ManagedOperation(description="Updates the message body on the suspended breakpoint at the given node id")
void setMessageBodyOnBreakpoint(String nodeId,
                                                            String body)

setMessageHeaderOnBreakpoint

@ManagedOperation(description="Updates/adds the message header on the suspended breakpoint at the given node id")
void setMessageHeaderOnBreakpoint(String nodeId,
                                                              String headerName,
                                                              String value)

resumeAll

@ManagedOperation(description="Resume running any suspended breakpoints, and exits step mode")
void resumeAll()

stepBreakpoint

@ManagedOperation(description="Starts single step debugging from the suspended breakpoint at the given node id")
void stepBreakpoint(String nodeId)

isSingleStepMode

@ManagedAttribute(description="Whether currently in step mode")
boolean isSingleStepMode()

step

@ManagedOperation(description="Steps to next node in step mode")
void step()

getBreakpoints

@ManagedOperation(description="Return the node ids which has breakpoints")
Set<String> getBreakpoints()

getSuspendedBreakpointNodeIds

@ManagedOperation(description="Return the node ids which is currently suspended")
Set<String> getSuspendedBreakpointNodeIds()

disableBreakpoint

@ManagedOperation(description="Disables a breakpoint")
void disableBreakpoint(String nodeId)

enableBreakpoint

@ManagedOperation(description="Enables a breakpoint which has been disabled")
void enableBreakpoint(String nodeId)

getBodyMaxChars

@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()

setBodyMaxChars

@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)

isBodyIncludeStreams

@ManagedAttribute(description="Whether to include stream based message body in the trace message.")
boolean isBodyIncludeStreams()

setBodyIncludeStreams

@ManagedAttribute(description="Whether to include stream based message body in the trace message.")
void setBodyIncludeStreams(boolean bodyIncludeStreams)

isBodyIncludeFiles

@ManagedAttribute(description="Whether to include file based message body in the trace message.")
boolean isBodyIncludeFiles()

setBodyIncludeFiles

@ManagedAttribute(description="Whether to include file based message body in the trace message.")
void setBodyIncludeFiles(boolean bodyIncludeFiles)

dumpTracedMessagesAsXml

@ManagedOperation(description="Dumps the messages in xml format from the suspended breakpoint at the given node")
String dumpTracedMessagesAsXml(String nodeId)

getDebugCounter

@ManagedAttribute(description="Number of total debugged messages")
long getDebugCounter()

resetDebugCounter

@ManagedOperation(description="Resets the debug counter")
void resetDebugCounter()


Apache Camel