public class ServerManagement extends Object implements XServerManagementMXBean
| Constructor and Description |
|---|
ServerManagement(ServerConfig serverConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllMessageTraces()
Clears all the message paths currently traced in the memory
|
void |
clearMessageTrace(String projectId,
String projectVersion,
String flowId)
Clears a message path of the given integration flow currently traced in the memory
|
void |
disableMessageTracing()
Disables integration flow message tracing functionality
|
void |
enableMessageTracing()
Enables integration flow message tracing functionality
|
void |
gracefulShutdown(long waitTimeMillis)
Shutdown the XServer gracefully within the specified grace period.
|
boolean |
isMessageTracingEnabled()
Checks whether the integration flow message tracing functionality is enabled *
|
List<IntegrationFlowTraceNode> |
retrieveMessagePath(String projectId,
String projectVersion,
String flowId)
Retrieves the last traced message path
|
XMessageView |
retrieveMessageView(String projectId,
String projectVersion,
String flowId,
String sourceId,
String outPortDisplayName,
String targetId)
Retrieves traced message view between two integration flow elements
|
XMessageView |
retrieveReceivedMessage(String projectId,
String projectVersion,
String flowId,
String elementId)
Retrieves traced received message view of a flow element
|
void |
shutdownXServer()
Shutdown the XServer destroying its transports, projects, integration flow and finally exit the JVM
|
void |
startMaintenance()
Starts the maintenance mode of XServer
|
void |
startXServer()
Starts the XServer and its transports, projects and integration flows.
|
void |
stopMaintenance()
Resume normal operations from maintenance mode
|
void |
stopXServer()
Stops the XServer and its transports, projects and integration flows.
|
public ServerManagement(ServerConfig serverConfig)
public void stopXServer()
XServerManagementMXBean.shutdownXServer() method.stopXServer in interface XServerManagementMXBeanpublic void startXServer()
startXServer in interface XServerManagementMXBeanpublic void shutdownXServer()
XServerManagementMXBeanshutdownXServer in interface XServerManagementMXBeanpublic void startMaintenance()
XServerManagementMXBeanstartMaintenance in interface XServerManagementMXBeanpublic void stopMaintenance()
XServerManagementMXBeanstopMaintenance in interface XServerManagementMXBeanpublic void gracefulShutdown(long waitTimeMillis)
XServerManagementMXBeangracefulShutdown in interface XServerManagementMXBeanwaitTimeMillis - the maximum time period (in milliseconds ) that the shutdown action will wait for the
server to become idle after entering the maintenance modepublic void enableMessageTracing()
enableMessageTracing in interface XServerManagementMXBeanpublic void disableMessageTracing()
disableMessageTracing in interface XServerManagementMXBeanpublic boolean isMessageTracingEnabled()
isMessageTracingEnabled in interface XServerManagementMXBeanpublic void clearAllMessageTraces()
clearAllMessageTraces in interface XServerManagementMXBeanpublic void clearMessageTrace(String projectId, String projectVersion, String flowId)
clearMessageTrace in interface XServerManagementMXBeanprojectId - ID of the project to which the integration flow belongs toprojectVersion - version of the project to which the integration flow belongs toflowId - ID of the XIntegrationFlow instancepublic List<IntegrationFlowTraceNode> retrieveMessagePath(String projectId, String projectVersion, String flowId)
retrieveMessagePath in interface XServerManagementMXBeanprojectId - ID of the project to which the integration flow belongs toprojectVersion - version of the project to which the integration flow belongs toflowId - ID of the XIntegrationFlow instanceIntegrationFlowTraceNodepublic XMessageView retrieveMessageView(String projectId, String projectVersion, String flowId, String sourceId, String outPortDisplayName, String targetId)
retrieveMessageView in interface XServerManagementMXBeanprojectId - ID of the project to which the integration flow belongs toprojectVersion - version of the project to which the integration flow belongs toflowId - ID of the XIntegrationFlow instancesourceId - bean ID of the source elementoutPortDisplayName - display name of the source outporttargetId - bean ID of the target elementXMessageViewpublic XMessageView retrieveReceivedMessage(String projectId, String projectVersion, String flowId, String elementId)
retrieveReceivedMessage in interface XServerManagementMXBeanprojectId - ID of the project to which the integration flow belongs toprojectVersion - version of the project to which the integration flow belongs toflowId - ID of the XIntegrationFlow instanceelementId - bean ID of the elementXMessageViewCopyright © 2016–2019 AdroitLogic. All rights reserved.