Version: 17.07
Supported Since: 17.01
As mentioned before, this feature is used to expose all the functionalities provided by the UltraESB-X clustering including,
Acquiring Distributed locks
Obtaining distributed sequence numbers
Publishing distributed commands which will be executed by all the nodes in the same command space
In order to get a better understanding, let’s go through the APIs of the cluster feature and understand what each of those APIs do.
All the following APIs, except "isClusteringEnabled()" can throw "IntegrationRuntimeException"
if called while clustering is not enabled. Therefore, you must check if clustering is enabled using
"isClusteringEnabled" before using any other API.
|
getClusterLock |
Parameters
Returns
This API will create an |
getNextSequenceNumber |
Parameters
Returns
Generates a distributed sequence number which is the next in line of a distributed sequence. Users have to check the returned optional to obtain the sequence number. |
publishControlCommand |
Parameters
Returns
A control command can be any class which is implementing |
isClusteringEnabled |
Returns
This API can be ued to determine whether this UltraESB-X instance is using clustering. |
getNodeName |
Returns the node name of the UltraESB-X instance |
getStatus |
Returns the status of the UltraESB-X cluster manager. |
getCommandSpace |
Returns the command space name of the UltraESB-X instance |
getDomain |
Returns the domain name of the UltraESB-X instance |