public class EmbeddedJMS extends EmbeddedHornetQ
| Modifier and Type | Field and Description |
|---|---|
protected Context |
context |
protected String |
jmsConfigResourcePath |
protected JMSConfiguration |
jmsConfiguration |
protected BindingRegistry |
registry |
protected JMSServerManagerImpl |
serverManager |
configResourcePath, configuration, hornetQServer, mbeanServer, securityManager| Constructor and Description |
|---|
EmbeddedJMS() |
| Modifier and Type | Method and Description |
|---|---|
BindingRegistry |
getRegistry() |
Object |
lookup(String name)
Lookup in the registry for registered object, i.e.
|
void |
setContext(Context context)
If you want to use JNDI instead of an internal map, set this property
|
void |
setJmsConfigResourcePath(String jmsConfigResourcePath)
Classpath resource where JMS config file is.
|
void |
setJmsConfiguration(JMSConfiguration jmsConfiguration)
By default, this class uses file-based configuration.
|
void |
setRegistry(BindingRegistry registry)
Only set this property if you are using a custom BindingRegistry
|
void |
start() |
void |
stop() |
getHornetQServer, initStart, setConfigResourcePath, setConfiguration, setMbeanServer, setSecurityManagerprotected JMSServerManagerImpl serverManager
protected BindingRegistry registry
protected String jmsConfigResourcePath
protected JMSConfiguration jmsConfiguration
protected Context context
public void setJmsConfigResourcePath(String jmsConfigResourcePath)
jmsConfigResourcePath - public BindingRegistry getRegistry()
public void setRegistry(BindingRegistry registry)
registry - public void setJmsConfiguration(JMSConfiguration jmsConfiguration)
jmsConfiguration - public void setContext(Context context)
context - public Object lookup(String name)
name - public void start()
throws Exception
start in class EmbeddedHornetQExceptionpublic void stop()
throws Exception
stop in class EmbeddedHornetQExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.