org.apache.activemq.artemis.jms.management.impl.JMSConnectionFactoryControlImpl

Here are the examples of the java api class org.apache.activemq.artemis.jms.management.impl.JMSConnectionFactoryControlImpl taken from open source projects.

1. JMSManagementServiceImpl#registerConnectionFactory()

View license
@Override
public synchronized void registerConnectionFactory(final String name, final ConnectionFactoryConfiguration cfConfig, final ActiveMQConnectionFactory connectionFactory) throws Exception {
    ObjectName objectName = managementService.getObjectNameBuilder().getConnectionFactoryObjectName(name);
    JMSConnectionFactoryControlImpl control = new JMSConnectionFactoryControlImpl(cfConfig, connectionFactory, jmsServerManager, name);
    managementService.registerInJMX(objectName, control);
    managementService.registerInRegistry(ResourceNames.JMS_CONNECTION_FACTORY + name, control);
}