org.gcube.accounting.messaging.consumer
Class Consumer

java.lang.Object
  extended by org.gcube.accounting.messaging.consumer.Consumer

public class Consumer
extends Object

JMS Client that receives message from ActiveMQ Broker

Author:
Andrea Manzi (CERN), Ermanno Travaglino (E-IIS)

Field Summary
protected static int ackMode
           
protected static boolean transacted
           
 
Method Summary
static Consumer getSingleton()
           
 org.gcube.accounting.datamodel.RawUsageRecord receiveMessageFromQueue(QueueCouple queueCouple)
          Receives message from a QUEUE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transacted

protected static boolean transacted

ackMode

protected static int ackMode
Method Detail

getSingleton

public static Consumer getSingleton()

receiveMessageFromQueue

public org.gcube.accounting.datamodel.RawUsageRecord receiveMessageFromQueue(QueueCouple queueCouple)
Receives message from a QUEUE

Parameters:
message - the RawUsageRecord to send


Copyright © 2014. All Rights Reserved.