Class ExternalJMSTopicService
- java.lang.Object
-
- org.wildfly.extension.messaging.activemq.jms.ExternalJMSTopicService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<jakarta.jms.Topic>,org.jboss.msc.value.Value<jakarta.jms.Topic>
public class ExternalJMSTopicService extends Object implements org.jboss.msc.service.Service<jakarta.jms.Topic>
Service responsible for creating and destroying a clientjakarta.jms.Topic.- Author:
- Emmanuel Hugonnet (c) 2018 Red Hat, inc.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.jms.TopicgetValue()static ExternalJMSTopicServiceinstallRuntimeTopicService(DestinationConfiguration config, org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName pcf, boolean enabledAMQ1Prefix)static ExternalJMSTopicServiceinstallService(String name, org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.ServiceTarget serviceTarget, boolean enabledAMQ1Prefix)voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
public jakarta.jms.Topic getValue() throws IllegalStateException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<jakarta.jms.Topic>- Throws:
IllegalStateException
-
installService
public static ExternalJMSTopicService installService(String name, org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.ServiceTarget serviceTarget, boolean enabledAMQ1Prefix)
-
installRuntimeTopicService
public static ExternalJMSTopicService installRuntimeTopicService(DestinationConfiguration config, org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName pcf, boolean enabledAMQ1Prefix)
-
-