org.gcube.data.harmonization.occurrence.queue
Class QueueSender

java.lang.Object
  extended by org.gcube.data.harmonization.occurrence.queue.QueueSender

public class QueueSender
extends Object


Constructor Summary
QueueSender(com.rabbitmq.client.Channel channel, String routingKey)
           
 
Method Summary
 String getExchangeName()
           
 void sendMessage(ExecutionReference.ExecutionRequest toSendMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueSender

public QueueSender(com.rabbitmq.client.Channel channel,
                   String routingKey)
            throws IOException
Throws:
IOException
Method Detail

getExchangeName

public String getExchangeName()

sendMessage

public void sendMessage(ExecutionReference.ExecutionRequest toSendMessage)
                 throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.