public class RabbitMQSinkUtil extends Object
RabbitMQSinkUtil responsible of the all configuration reading and input formatting of rabbitmq broker.| Constructor and Description |
|---|
RabbitMQSinkUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
declareExchange(com.rabbitmq.client.Connection connection,
com.rabbitmq.client.Channel channel,
String exchangeName,
String exchangeType,
boolean exchangeDurable,
boolean exchangeAutodelete) |
static void |
declareQueue(com.rabbitmq.client.Connection connection,
com.rabbitmq.client.Channel channel,
String queueName,
boolean queueDurable,
boolean queueAutodelete,
boolean queueExclusive) |
static Map<String,Object> |
getHeaders(String headers) |
static String |
getTrustStorePassword(io.siddhi.core.util.config.ConfigReader sinkConfigReader) |
static String |
getTrustStorePath(io.siddhi.core.util.config.ConfigReader sinkConfigReader) |
public static void declareExchange(com.rabbitmq.client.Connection connection,
com.rabbitmq.client.Channel channel,
String exchangeName,
String exchangeType,
boolean exchangeDurable,
boolean exchangeAutodelete)
throws IOException,
TimeoutException
IOExceptionTimeoutExceptionpublic static void declareQueue(com.rabbitmq.client.Connection connection,
com.rabbitmq.client.Channel channel,
String queueName,
boolean queueDurable,
boolean queueAutodelete,
boolean queueExclusive)
throws IOException,
TimeoutException
IOExceptionTimeoutExceptionpublic static String getTrustStorePath(io.siddhi.core.util.config.ConfigReader sinkConfigReader)
public static String getTrustStorePassword(io.siddhi.core.util.config.ConfigReader sinkConfigReader)
public static Map<String,Object> getHeaders(String headers) throws IOException
IOExceptionCopyright © 2019 WSO2. All rights reserved.