public class EmbeddedHornetQ extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
configResourcePath |
protected Configuration |
configuration |
protected HornetQServer |
hornetQServer |
protected MBeanServer |
mbeanServer |
protected HornetQSecurityManager |
securityManager |
Constructor and Description |
---|
EmbeddedHornetQ() |
Modifier and Type | Method and Description |
---|---|
HornetQServer |
getHornetQServer() |
protected void |
initStart() |
void |
setConfigResourcePath(String filename)
Classpath resource for hornetq server config.
|
void |
setConfiguration(Configuration configuration)
Set this object if you are not using file-based configuration.
|
void |
setMbeanServer(MBeanServer mbeanServer)
Use this mbean server to register management beans.
|
void |
setSecurityManager(HornetQSecurityManager securityManager)
Set the hornetq security manager.
|
void |
start() |
void |
stop() |
protected HornetQSecurityManager securityManager
protected String configResourcePath
protected Configuration configuration
protected HornetQServer hornetQServer
protected MBeanServer mbeanServer
public void setConfigResourcePath(String filename)
filename
- public void setSecurityManager(HornetQSecurityManager securityManager)
securityManager
- public void setMbeanServer(MBeanServer mbeanServer)
mbeanServer
- public void setConfiguration(Configuration configuration)
configuration
- public HornetQServer getHornetQServer()
Copyright © 2018 JBoss by Red Hat. All rights reserved.