public class RabbitMQConsumer extends Object
RabbitMQConsumer Handle the Rabbitmq consuming tasks.| Constructor and Description |
|---|
RabbitMQConsumer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeChannel() |
static void |
consume(com.rabbitmq.client.Connection connection,
String exchangeName,
String exchangeType,
boolean exchangeDurable,
boolean exchangeAutoDelete,
String queueName,
boolean queueExclusive,
boolean queueDurable,
boolean queueAutodelete,
String routingKey,
Map<String,Object> map,
org.wso2.siddhi.core.stream.input.source.SourceEventListener sourceEventListener) |
static void |
pause() |
static void |
resume() |
public static void consume(com.rabbitmq.client.Connection connection,
String exchangeName,
String exchangeType,
boolean exchangeDurable,
boolean exchangeAutoDelete,
String queueName,
boolean queueExclusive,
boolean queueDurable,
boolean queueAutodelete,
String routingKey,
Map<String,Object> map,
org.wso2.siddhi.core.stream.input.source.SourceEventListener sourceEventListener)
throws Exception
Exceptionpublic static void closeChannel()
throws IOException,
TimeoutException
IOExceptionTimeoutExceptionpublic static void pause()
public static void resume()
Copyright © 2017 WSO2. All rights reserved.