Class EmbeddedJMS
java.lang.Object
org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ
org.apache.activemq.artemis.jms.server.embedded.EmbeddedJMS
@Deprecated
public class EmbeddedJMS
extends org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ
Deprecated.
Deprecated in favor of org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ. Since Artemis 2.0 all JMS
specific broker management classes, interfaces, and methods have been deprecated in favor of their more general
counter-parts.
Simple bootstrap class that parses activemq config files (server and jms and security) and starts an ActiveMQServer instance and populates it with configured JMS endpoints.
JMS Endpoints are registered with a simple MapBindingRegistry. If you want to use a different registry you must set the registry property of this class or call the setRegistry() method if you want to use JNDI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContextDeprecated.protected JMSConfigurationDeprecated.protected BindingRegistryDeprecated.protected JMSServerManagerImplDeprecated.Fields inherited from class org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ
activeMQServer, configResourcePath, configuration, mbeanServer, propertiesResourcePath, securityManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Lookup in the registry for registered object, i.e. a ConnectionFactory.setConfiguration(Configuration configuration) Deprecated.setContext(Context context) Deprecated.If you want to use JNDI instead of an internal map, set this propertysetJmsConfiguration(JMSConfiguration jmsConfiguration) Deprecated.By default, this class uses file-based configuration.setRegistry(BindingRegistry registry) Deprecated.Only set this property if you are using a custom BindingRegistrystart()Deprecated.stop()Deprecated.Methods inherited from class org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ
createActiveMQServer, getActiveMQServer, getConfiguration, setConfigResourcePath, setMbeanServer, setPropertiesResourcePath, setSecurityManager, waitClusterForming
-
Field Details
-
serverManager
Deprecated. -
registry
Deprecated. -
jmsConfiguration
Deprecated. -
context
Deprecated.
-
-
Constructor Details
-
EmbeddedJMS
public EmbeddedJMS()Deprecated.
-
-
Method Details
-
getRegistry
Deprecated. -
getJMSServerManager
Deprecated. -
setRegistry
Deprecated.Only set this property if you are using a custom BindingRegistry -
setJmsConfiguration
Deprecated.By default, this class uses file-based configuration. Set this property to override it. -
setContext
Deprecated.If you want to use JNDI instead of an internal map, set this property -
setConfiguration
Deprecated.- Overrides:
setConfigurationin classorg.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ
-
lookup
-
start
Deprecated.- Overrides:
startin classorg.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ- Throws:
Exception
-
stop
Deprecated.- Overrides:
stopin classorg.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ- Throws:
Exception
-