Search in sources :

Example 1 with AcceptorControlImpl

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

the class ManagementServiceImpl method registerAcceptor.

@Override
public synchronized void registerAcceptor(final Acceptor acceptor, final TransportConfiguration configuration) throws Exception {
    ObjectName objectName = objectNameBuilder.getAcceptorObjectName(configuration.getName());
    AcceptorControl control = new AcceptorControlImpl(acceptor, storageManager, configuration);
    registerInJMX(objectName, control);
    registerInRegistry(ResourceNames.ACCEPTOR + configuration.getName(), control);
}
Also used : AcceptorControl(org.apache.activemq.artemis.api.core.management.AcceptorControl) AcceptorControlImpl(org.apache.activemq.artemis.core.management.impl.AcceptorControlImpl) ObjectName(javax.management.ObjectName)

Aggregations

ObjectName (javax.management.ObjectName)1 AcceptorControl (org.apache.activemq.artemis.api.core.management.AcceptorControl)1 AcceptorControlImpl (org.apache.activemq.artemis.core.management.impl.AcceptorControlImpl)1