org.gcube.dataanalysis.executor.messagequeue
Class Consumer
java.lang.Object
org.gcube.dataanalysis.executor.messagequeue.Consumer
public class Consumer
- extends Object
|
Constructor Summary |
Consumer(QueueManager manager,
javax.jms.MessageListener consumerCallback,
javax.jms.ExceptionListener errorCallback,
String topic)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
public QueueManager manager
consumer
public javax.jms.MessageConsumer consumer
Consumer
public Consumer(QueueManager manager,
javax.jms.MessageListener consumerCallback,
javax.jms.ExceptionListener errorCallback,
String topic)
throws javax.jms.JMSException,
InterruptedException
- Throws:
javax.jms.JMSException
InterruptedException
standBy
public void standBy()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
wake
public void wake()
throws Exception
- Throws:
Exception
stop
public void stop()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
closeSession
public void closeSession()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
Copyright © 2013. All Rights Reserved.