org.gcube.accounting.messaging.producer
Class Producer
java.lang.Object
org.gcube.accounting.messaging.producer.Producer
- All Implemented Interfaces:
- Runnable
public class Producer
- extends Object
- implements Runnable
JMS Client that sends message to ActiveMQ Broker
- Author:
- Andrea Manzi (CERN), Ermanno Travaglino (E-IIS)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sendMessageToQueue
public void sendMessageToQueue(org.gcube.accounting.datamodel.RawUsageRecord message)
- Sends message to a QUEUE destination
- Parameters:
message - the RawUsageRecord to send
getSingleton
public static Producer getSingleton()
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2014. All Rights Reserved.