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

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

1. JMSManagementServiceImpl#registerTopic()

View license
@Override
public synchronized void registerTopic(final ActiveMQTopic topic) throws Exception {
    ObjectName objectName = managementService.getObjectNameBuilder().getJMSTopicObjectName(topic.getTopicName());
    AddressControl addressControl = (AddressControl) managementService.getResource(ResourceNames.CORE_ADDRESS + topic.getAddress());
    JMSTopicControlImpl control = new JMSTopicControlImpl(topic, jmsServerManager, addressControl, managementService);
    managementService.registerInJMX(objectName, control);
    managementService.registerInRegistry(ResourceNames.JMS_TOPIC + topic.getTopicName(), control);
}