Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static int |
ackMode |
protected ArrayList<javax.jms.Connection> |
connections |
protected QueueCouple |
queueCouple |
protected static boolean |
transacted |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
static Consumer |
getSingleton() |
void |
onException(javax.jms.JMSException exce) |
org.gcube.accounting.datamodel.RawUsageRecord |
receiveMessageFromQueue(QueueCouple queueCouple)
Receives message from a QUEUE
|
void |
run() |
void |
subscribe() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected static boolean transacted
protected static int ackMode
protected ArrayList<javax.jms.Connection> connections
protected QueueCouple queueCouple
public static Consumer getSingleton()
public org.gcube.accounting.datamodel.RawUsageRecord receiveMessageFromQueue(QueueCouple queueCouple)
message - the RawUsageRecord to sendpublic void onException(javax.jms.JMSException exce)
onException in interface javax.jms.ExceptionListenerCopyright © 2015. All Rights Reserved.