public class AMQPSender extends Object
| Constructor and Description |
|---|
AMQPSender(Configuration configuration) |
AMQPSender(String hostname,
int port,
String vHost,
String username,
String password,
String queueName,
String queueType,
String exchangeName,
String routingKey,
boolean amqpPersistentMessagesEnabled) |
public AMQPSender(String hostname, int port, String vHost, String username, String password, String queueName, String queueType, String exchangeName, String routingKey, boolean amqpPersistentMessagesEnabled)
@Inject public AMQPSender(Configuration configuration)
public void send(Message msg) throws IOException
IOExceptionpublic void connect()
throws IOException
IOExceptionpublic boolean isConnected()
public void close()
throws IOException
IOExceptionCopyright © 2012-2015 TORCH GmbH. All Rights Reserved.