Class MessagingServices
java.lang.Object
org.wildfly.extension.messaging.activemq.MessagingServices
- Author:
- Emanuel Muckenhuber
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.as.controller.PathAddressgetActiveMQServerPathAddress(org.jboss.as.controller.PathAddress pathAddress) static org.jboss.msc.service.ServiceNamestatic org.jboss.msc.service.ServiceNamegetActiveMQServiceName(String serverName) static org.jboss.msc.service.ServiceNamegetActiveMQServiceName(org.jboss.as.controller.PathAddress pathAddress) static org.jboss.msc.service.ServiceNamegetBroadcastCommandDispatcherFactoryServiceName(String channelName) static org.jboss.msc.service.ServiceNamegetCapabilityServiceName(String capabilityBaseName, String... dynamicParts) Determines a ServiceName from a capability name.static org.jboss.msc.service.ServiceNamegetJMSBridgeServiceName(String bridgeName) static org.jboss.msc.service.ServiceNamegetQueueBaseServiceName(org.jboss.msc.service.ServiceName serverServiceName) static booleanisSubsystemResource(org.jboss.as.controller.OperationContext context)
-
Field Details
-
ACTIVEMQ_CLIENT_THREAD_POOL
public static final org.jboss.msc.service.ServiceName ACTIVEMQ_CLIENT_THREAD_POOL -
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:
-
TRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITY
The capability name for the transaction XAResourceRecoveryRegistry.- See Also:
-
-
Constructor Details
-
MessagingServices
public MessagingServices()
-
-
Method Details
-
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
-
getQueueBaseServiceName
public static org.jboss.msc.service.ServiceName getQueueBaseServiceName(org.jboss.msc.service.ServiceName serverServiceName) -
getJMSBridgeServiceName
-
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 dynamicdynamicParts- any dynamic parts of the capability name. May benull- 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)
-