@Deprecated public class EmbeddedJMS extends 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.
|
activeMQServer, configResourcePath, configuration, mbeanServer, securityManager
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(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.
|
getActiveMQServer, initStart, setConfigResourcePath, setMbeanServer, setSecurityManager, waitClusterForming
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(Configuration configuration)
EmbeddedActiveMQ
setConfiguration
in class EmbeddedActiveMQ
public Object lookup(String name)
This is a convenience method.
name
- public EmbeddedJMS start() throws Exception
start
in class EmbeddedActiveMQ
Exception
public EmbeddedJMS stop() throws Exception
stop
in class EmbeddedActiveMQ
Exception
Copyright © 2019 JBoss by Red Hat. All rights reserved.