@Deprecated public class EmbeddedJMS extends org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ
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
| Modifier and Type | Field and Description |
|---|---|
protected Context |
context
Deprecated.
|
protected JMSConfiguration |
jmsConfiguration
Deprecated.
|
protected BindingRegistry |
registry
Deprecated.
|
protected JMSServerManagerImpl |
serverManager
Deprecated.
|
| Constructor and Description |
|---|
EmbeddedJMS()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JMSServerManager |
getJMSServerManager()
Deprecated.
|
BindingRegistry |
getRegistry()
Deprecated.
|
Object |
lookup(String name)
Deprecated.
Lookup in the registry for registered object, i.e.
|
EmbeddedJMS |
setConfiguration(org.apache.activemq.artemis.core.config.Configuration configuration)
Deprecated.
Set this object if you are not using file-based configuration.
|
EmbeddedJMS |
setContext(Context context)
Deprecated.
If you want to use JNDI instead of an internal map, set this property
|
EmbeddedJMS |
setJmsConfiguration(JMSConfiguration jmsConfiguration)
Deprecated.
By default, this class uses file-based configuration.
|
EmbeddedJMS |
setRegistry(BindingRegistry registry)
Deprecated.
Only set this property if you are using a custom BindingRegistry
|
EmbeddedJMS |
start()
Deprecated.
|
EmbeddedJMS |
stop()
Deprecated.
|
protected JMSServerManagerImpl serverManager
protected BindingRegistry registry
protected JMSConfiguration jmsConfiguration
protected Context context
public BindingRegistry getRegistry()
public JMSServerManager getJMSServerManager()
public EmbeddedJMS setRegistry(BindingRegistry registry)
registry - public EmbeddedJMS setJmsConfiguration(JMSConfiguration jmsConfiguration)
jmsConfiguration - public EmbeddedJMS setContext(Context context)
context - public EmbeddedJMS setConfiguration(org.apache.activemq.artemis.core.config.Configuration configuration)
org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQsetConfiguration in class org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQpublic Object lookup(String name)
This is a convenience method.
name - public EmbeddedJMS start() throws Exception
start in class org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQExceptionpublic EmbeddedJMS stop() throws Exception
stop in class org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.