Class MessagingServices


  • public class MessagingServices
    extends Object
    Author:
    Emanuel Muckenhuber
    • Field Detail

      • ACTIVEMQ_CLIENT_THREAD_POOL

        public static final org.jboss.msc.service.ServiceName ACTIVEMQ_CLIENT_THREAD_POOL
      • LOCAL_TRANSACTION_PROVIDER_CAPABILITY

        public static final String LOCAL_TRANSACTION_PROVIDER_CAPABILITY
        Name of the capability that ensures a local provider of transactions is present. Once its service is started, calls to the getInstance() methods of ContextTransactionManager, ContextTransactionSynchronizationRegistry and LocalUserTransaction can be made knowing that the global default TM, TSR and UT will be from that provider.
        See Also:
        Constant Field Values
      • TRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITY

        public static final String TRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITY
        The capability name for the transaction XAResourceRecoveryRegistry.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MessagingServices

        public MessagingServices()
    • Method Detail

      • getActiveMQServiceName

        public static org.jboss.msc.service.ServiceName getActiveMQServiceName​(org.jboss.as.controller.PathAddress pathAddress)
      • getActiveMQServerPathAddress

        public static org.jboss.as.controller.PathAddress getActiveMQServerPathAddress​(org.jboss.as.controller.PathAddress pathAddress)
      • getActiveMQServiceName

        public static org.jboss.msc.service.ServiceName getActiveMQServiceName()
      • getActiveMQServiceName

        public static org.jboss.msc.service.ServiceName getActiveMQServiceName​(String serverName)
      • getQueueBaseServiceName

        public static org.jboss.msc.service.ServiceName getQueueBaseServiceName​(org.jboss.msc.service.ServiceName serverServiceName)
      • getJMSBridgeServiceName

        public static org.jboss.msc.service.ServiceName getJMSBridgeServiceName​(String bridgeName)
      • getBroadcastCommandDispatcherFactoryServiceName

        public static org.jboss.msc.service.ServiceName getBroadcastCommandDispatcherFactoryServiceName​(String channelName)
      • getCapabilityServiceName

        public static org.jboss.msc.service.ServiceName getCapabilityServiceName​(String capabilityBaseName,
                                                                                 String... dynamicParts)
        Determines a ServiceName from a capability name. Only supported for use by services installed by this subsystem; will not function reliably until the subsystem has begun adding runtime services.
        Parameters:
        capabilityBaseName - the base name of the capability, or its full name if it is not dynamic
        dynamicParts - any dynamic parts of the capability name. May be null
        Returns:
        the service name
        Throws:
        IllegalStateException - if invoked before the subsystem has begun adding runtime services
      • isSubsystemResource

        public static boolean isSubsystemResource​(org.jboss.as.controller.OperationContext context)