public class ControllerJmsDelegate extends Object
Constructor and Description |
---|
ControllerJmsDelegate(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addCommandListener(CommandListener commandListener) |
void |
closeConnections()
ensures connections are closed, otherwise the JVM may be prevented from terminating
|
void |
createQueues(List<QueueConfig> queues) |
void |
deleteQueues(List<QueueConfig> queues) |
void |
registerClient(RegisterClientCommand command) |
void |
removeCommandListener(CommandListener commandListener) |
void |
sendCommandToClient(String clientName,
Command command) |
void |
start() |
public ControllerJmsDelegate(Context context) throws NamingException, javax.jms.JMSException
NamingException
javax.jms.JMSException
public void start()
public void closeConnections()
public void registerClient(RegisterClientCommand command)
public void createQueues(List<QueueConfig> queues)
public void deleteQueues(List<QueueConfig> queues)
public void addCommandListener(CommandListener commandListener)
public void removeCommandListener(CommandListener commandListener)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.