org.gcube.datatransfer.common.messaging.producer
Class Producer
java.lang.Object
org.gcube.datatransfer.common.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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sendMessageToQueue
public void sendMessageToQueue(org.gcube.common.core.monitoring.GCUBEMessage message)
- Sends message to a QUEUE destination
- Parameters:
message
- the GCUBEMessage to send
getSingleton
public static Producer getSingleton()
setSingleton
public void setSingleton(Producer singleton)
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2013. All Rights Reserved.