Interface ManagedBacklogDebuggerMBean
public interface ManagedBacklogDebuggerMBean
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBreakpoint
(String nodeId) void
addConditionalBreakpoint
(String nodeId, String language, String predicate) void
attach()
void
detach()
void
disableBreakpoint
(String nodeId) void
dumpTracedMessagesAsXml
(String nodeId, boolean includeExchangeProperties) void
enableBreakpoint
(String nodeId) void
evaluateExpressionAtBreakpoint
(String nodeId, String language, String expression) evaluateExpressionAtBreakpoint
(String nodeId, String language, String expression, String resultType) int
long
long
boolean
boolean
boolean
boolean
void
void
removeBreakpoint
(String nodeId) void
removeExchangePropertyOnBreakpoint
(String nodeId, String exchangePropertyName) void
removeMessageBodyOnBreakpoint
(String nodeId) void
removeMessageHeaderOnBreakpoint
(String nodeId, String headerName) void
void
void
resumeBreakpoint
(String nodeId) void
setBodyIncludeFiles
(boolean bodyIncludeFiles) void
setBodyIncludeStreams
(boolean bodyIncludeStreams) void
setBodyMaxChars
(int bodyMaxChars) void
setExchangePropertyOnBreakpoint
(String nodeId, String exchangePropertyName, Object value) void
setExchangePropertyOnBreakpoint
(String nodeId, String exchangePropertyName, Object value, String type) void
setFallbackTimeout
(long fallbackTimeout) void
setLoggingLevel
(String level) void
setMessageBodyOnBreakpoint
(String nodeId, Object body) void
setMessageBodyOnBreakpoint
(String nodeId, Object body, String type) void
setMessageHeaderOnBreakpoint
(String nodeId, String headerName, Object value) void
setMessageHeaderOnBreakpoint
(String nodeId, String headerName, Object value, String type) void
step()
void
stepBreakpoint
(String nodeId) validateConditionalBreakpoint
(String language, String predicate)
-
Method Details
-
getCamelId
-
getCamelManagementName
-
getLoggingLevel
-
setLoggingLevel
-
isEnabled
-
enableDebugger
-
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 (uses same type as old body) on the suspended breakpoint at the given node id") void setMessageBodyOnBreakpoint(String nodeId, Object body) -
setMessageBodyOnBreakpoint
@ManagedOperation(description="Updates the message body (with a new type) on the suspended breakpoint at the given node id") void setMessageBodyOnBreakpoint(String nodeId, Object body, String type) -
removeMessageBodyOnBreakpoint
@ManagedOperation(description="Removes the message body on the suspended breakpoint at the given node id") void removeMessageBodyOnBreakpoint(String nodeId) -
setMessageHeaderOnBreakpoint
@ManagedOperation(description="Updates/adds the message header (uses same type as old header value) on the suspended breakpoint at the given node id") void setMessageHeaderOnBreakpoint(String nodeId, String headerName, Object value) -
removeMessageHeaderOnBreakpoint
@ManagedOperation(description="Removes the message header on the suspended breakpoint at the given node id") void removeMessageHeaderOnBreakpoint(String nodeId, String headerName) -
setMessageHeaderOnBreakpoint
@ManagedOperation(description="Updates/adds the message header (with a new type) on the suspended breakpoint at the given node id") void setMessageHeaderOnBreakpoint(String nodeId, String headerName, Object value, String type) -
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
-
step
-
breakpoints
@ManagedOperation(description="Return the node ids which has breakpoints") Set<String> breakpoints() -
suspendedBreakpointNodeIds
@ManagedOperation(description="Return the node ids which is currently suspended") Set<String> suspendedBreakpointNodeIds() -
disableBreakpoint
-
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) -
getFallbackTimeout
@ManagedAttribute(description="Fallback Timeout in seconds when block the message processing in Camel") long getFallbackTimeout() -
setFallbackTimeout
@ManagedAttribute(description="Fallback Timeout in seconds when block the message processing in Camel") void setFallbackTimeout(long fallbackTimeout) -
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, optionally including the exchange properties") String dumpTracedMessagesAsXml(String nodeId, boolean includeExchangeProperties) -
getDebugCounter
-
resetDebugCounter
-
validateConditionalBreakpoint
@ManagedOperation(description="Used for validating if a given breakpoint condition (predicate) is valid or not") String validateConditionalBreakpoint(String language, String predicate) -
evaluateExpressionAtBreakpoint
@ManagedOperation(description="Evaluates the expression at a given breakpoint node id") Object evaluateExpressionAtBreakpoint(String nodeId, String language, String expression, String resultType) -
evaluateExpressionAtBreakpoint
@ManagedOperation(description="Evaluates the expression at a given breakpoint node id and returns the result as String") String evaluateExpressionAtBreakpoint(String nodeId, String language, String expression) -
setExchangePropertyOnBreakpoint
@ManagedOperation(description="Updates/adds the exchange property (uses same type as old exchange property value) on the suspended breakpoint at the given node id") void setExchangePropertyOnBreakpoint(String nodeId, String exchangePropertyName, Object value) -
removeExchangePropertyOnBreakpoint
@ManagedOperation(description="Removes the exchange property on the suspended breakpoint at the given node id") void removeExchangePropertyOnBreakpoint(String nodeId, String exchangePropertyName) -
setExchangePropertyOnBreakpoint
@ManagedOperation(description="Updates/adds the exchange property (with a new type) on the suspended breakpoint at the given node id") void setExchangePropertyOnBreakpoint(String nodeId, String exchangePropertyName, Object value, String type) -
messageHistoryOnBreakpointAsXml
@ManagedOperation(description="Returns the message history at the given node id as XML") String messageHistoryOnBreakpointAsXml(String nodeId) -
attach
-
detach
-