Interface JMSOperations
- All Known Implementing Classes:
ActiveMQProviderJMSOperations,RemoteActiveMQProviderJMSOperations
public interface JMSOperations
Utility to administrate Jakarta Messaging related resources on the server. An separate implementation should be created for
every possible Jakarta Messaging provider to be tested.
Use JMSOperationsProvider to get instances of implementing classes.
Specify the fully qualified name of the activated implementation class in resources/jmsoperations.properties file.
- Author:
- Jan Martiska
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCoreBridge(String name, org.jboss.dmr.ModelNode attributes) voidaddCoreQueue(String queueName, String queueAddress, boolean durable, String routing) voidaddExternalHttpConnector(String connectorName, String socketBinding, String endpoint) voidaddExternalRemoteConnector(String name, String socketBinding) voidaddHttpConnector(String connectorName, String socketBinding, String endpoint, Map<String, String> parameters) voidaddJmsBridge(String name, org.jboss.dmr.ModelNode attributes) voidaddJmsConnectionFactory(String name, String jndiName, org.jboss.dmr.ModelNode attributes) voidaddJmsExternalConnectionFactory(String name, String jndiName, org.jboss.dmr.ModelNode attributes) voidclose()voidcreateJmsQueue(String queueName, String jndiName) voidcreateJmsQueue(String queueName, String jndiName, org.jboss.dmr.ModelNode attributes) voidcreateJmsTopic(String topicName, String jndiName) voidcreateJmsTopic(String topicName, String jndiName, org.jboss.dmr.ModelNode attributes) voidCreates remote acceptorvoidCreates remote connectorvoidcreateSocketBinding(String name, String interfaceName, int port) voidvoidvoidorg.jboss.as.controller.client.ModelControllerClientorg.jboss.dmr.ModelNodeorg.jboss.dmr.ModelNodebooleanvoidremoveCoreBridge(String name) voidremoveCoreQueue(String queueName) voidremoveExternalHttpConnector(String connectorName) voidvoidremoveHttpConnector(String connectorName) voidremoveJmsBridge(String name) voidvoidvoidremoveJmsQueue(String queueName) voidremoveJmsTopic(String topicName) voidremoveRemoteAcceptor(String name) Remove remote acceptorvoidvoidsetSystemProperties(String destination, String resourceAdapter) Set system properties for the given destination and resourceAdapter.
-
Method Details
-
getControllerClient
org.jboss.as.controller.client.ModelControllerClient getControllerClient() -
getServerAddress
org.jboss.dmr.ModelNode getServerAddress() -
getSubsystemAddress
org.jboss.dmr.ModelNode getSubsystemAddress() -
getProviderName
String getProviderName() -
createJmsQueue
-
createJmsQueue
-
createJmsTopic
-
createJmsTopic
-
removeJmsQueue
-
removeJmsTopic
-
addJmsConnectionFactory
-
removeJmsConnectionFactory
-
addJmsExternalConnectionFactory
-
removeJmsExternalConnectionFactory
-
addJmsBridge
-
removeJmsBridge
-
addCoreBridge
-
removeCoreBridge
-
addCoreQueue
-
removeCoreQueue
-
createRemoteAcceptor
Creates remote acceptor- Parameters:
name- name of the remote acceptorsocketBinding- name of socket bindingparams- params
-
removeRemoteAcceptor
Remove remote acceptor- Parameters:
name- name of the remote acceptor
-
createRemoteConnector
Creates remote connector- Parameters:
name- name of the remote connectorsocketBinding- name of socket bindingparams- params
-
close
void close() -
addHttpConnector
-
removeHttpConnector
-
addExternalHttpConnector
-
addExternalRemoteConnector
-
removeExternalHttpConnector
-
removeExternalRemoteConnector
-
setSystemProperties
Set system properties for the given destination and resourceAdapter. The system property for the given destination isdestinationand the one for the resourceAdapter isresource.adapter. -
removeSystemProperties
void removeSystemProperties() -
enableMessagingTraces
void enableMessagingTraces() -
createSocketBinding
-
isRemoteBroker
boolean isRemoteBroker() -
disableSecurity
void disableSecurity() -
enableSecurity
void enableSecurity()
-