|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.datatransfer.common.messaging.producer.Producer
public class Producer
JMS Client that sends message to ActiveMQ Broker
Method Summary | |
---|---|
static Producer |
getSingleton()
|
void |
run()
|
void |
sendMessage(org.gcube.common.core.monitoring.GCUBEMessage message,
String... selectorType)
Sene Message using the ActiveMQ topicConnection |
void |
sendMessageToQueue(org.gcube.common.core.monitoring.GCUBEMessage message)
Sends message to a QUEUE destination |
void |
setSingleton(Producer singleton)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void sendMessage(org.gcube.common.core.monitoring.GCUBEMessage message, String... selectorType)
message
- the GCUBEMessage to sendselectorType
- the Selector value (optional)public void sendMessageToQueue(org.gcube.common.core.monitoring.GCUBEMessage message)
message
- the GCUBEMessage to sendpublic static Producer getSingleton()
public void setSingleton(Producer singleton)
public void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |