org.gcube.data.access.queueManager.impl
Class QueueConsumerFactory

java.lang.Object
  extended by org.gcube.data.access.queueManager.impl.QueueConsumerFactory
All Implemented Interfaces:
ConsumerFactory

public class QueueConsumerFactory
extends Object
implements ConsumerFactory


Method Summary
 void close()
           
static QueueConsumerFactory get(FactoryConfiguration configuration)
           
 MultiSyncConsumer getMultiSyncConsumer(QueueType type)
           
 QueueConsumer register(String topic, QueueType type, QueueItemHandler callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.