public class RabbitMQConsumerClient extends Object
| Constructor and Description |
|---|
RabbitMQConsumerClient(String host) |
| Modifier and Type | Method and Description |
|---|---|
void |
declareAndConnect(String exchangeName,
String routeKey) |
void |
disconnect() |
List<String> |
popAllMessages() |
public RabbitMQConsumerClient(String host)
public void declareAndConnect(String exchangeName, String routeKey) throws IOException
IOExceptionpublic List<String> popAllMessages() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void disconnect()
Copyright © 2015 WSO2 Inc. All rights reserved.