org.gcube.dataanalysis.executor.messagequeue
Class QueueManager
java.lang.Object
org.gcube.dataanalysis.executor.messagequeue.QueueManager
public class QueueManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectionFactory
public org.apache.activemq.ActiveMQConnectionFactory connectionFactory
connection
public javax.jms.Connection connection
session
public javax.jms.Session session
destination
public javax.jms.Destination destination
mqurl
public String mqurl
QueueManager
public QueueManager()
createAndConnect
public void createAndConnect(String user,
String password,
String mqurl,
String queueName)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
destroy
public void destroy()
closeSession
public void closeSession()
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.