org.gcube.data.access.queueManager.impl
Class QueueConsumerFactory
java.lang.Object
org.gcube.data.access.queueManager.impl.QueueConsumerFactory
- All Implemented Interfaces:
- ConsumerFactory
public class QueueConsumerFactory
- extends Object
- implements ConsumerFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static QueueConsumerFactory get(FactoryConfiguration configuration)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
register
public QueueConsumer register(String topic,
QueueType type,
QueueItemHandler callback)
throws javax.jms.JMSException
- Specified by:
register in interface ConsumerFactory
- Throws:
javax.jms.JMSException
getMultiSyncConsumer
public MultiSyncConsumer getMultiSyncConsumer(QueueType type)
throws javax.jms.JMSException,
Exception
- Throws:
javax.jms.JMSException
Exception
close
public void close()
- Specified by:
close in interface ConsumerFactory
Copyright © 2013. All Rights Reserved.