Class MessagingServices
java.lang.Object
org.wildfly.extension.messaging.activemq.MessagingServices
- Author:
- Emanuel Muckenhuber
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceNamestatic final StringName of the capability that ensures a local provider of transactions is present.static final StringThe capability name for the transaction XAResourceRecoveryRegistry. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.as.controller.PathAddressgetActiveMQServerPathAddress(org.jboss.as.controller.PathAddress pathAddress) static ServiceNamestatic ServiceNamegetActiveMQServiceName(String serverName) static ServiceNamegetActiveMQServiceName(org.jboss.as.controller.PathAddress pathAddress) static ServiceNamegetBroadcastCommandDispatcherFactoryServiceName(String channelName) static ServiceNamegetCapabilityServiceName(String capabilityBaseName, String... dynamicParts) Determines a ServiceName from a capability name.static ServiceNamegetJMSBridgeServiceName(String bridgeName) static ServiceNamegetQueueBaseServiceName(ServiceName serverServiceName) static booleanisSubsystemResource(org.jboss.as.controller.OperationContext context)
-
Field Details
-
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
-
getActiveMQServerPathAddress
public static org.jboss.as.controller.PathAddress getActiveMQServerPathAddress(org.jboss.as.controller.PathAddress pathAddress) -
getActiveMQServiceName
-
getActiveMQServiceName
-
getQueueBaseServiceName
-
getJMSBridgeServiceName
-
getBroadcastCommandDispatcherFactoryServiceName
-
getCapabilityServiceName
public static 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)
-