Search in sources :

Example 1 with BridgeControlImpl

use of org.apache.activemq.artemis.core.management.impl.BridgeControlImpl in project activemq-artemis by apache.

the class ManagementServiceImpl method registerBridge.

@Override
public synchronized void registerBridge(final Bridge bridge, final BridgeConfiguration configuration) throws Exception {
    bridge.setNotificationService(this);
    ObjectName objectName = objectNameBuilder.getBridgeObjectName(configuration.getName());
    BridgeControl control = new BridgeControlImpl(bridge, storageManager, configuration);
    registerInJMX(objectName, control);
    registerInRegistry(ResourceNames.BRIDGE + configuration.getName(), control);
}
Also used : BridgeControlImpl(org.apache.activemq.artemis.core.management.impl.BridgeControlImpl) BridgeControl(org.apache.activemq.artemis.api.core.management.BridgeControl) ObjectName(javax.management.ObjectName)

Aggregations

ObjectName (javax.management.ObjectName)1 BridgeControl (org.apache.activemq.artemis.api.core.management.BridgeControl)1 BridgeControlImpl (org.apache.activemq.artemis.core.management.impl.BridgeControlImpl)1