public class AmqpChannel extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
bind(ShortString queue,
ShortString exchange,
ShortString routingKey) |
void |
cancelConsumer(ShortString consumerTag) |
void |
close() |
ShortString |
consume(ShortString queueName,
ShortString consumerTag,
boolean exclusive,
io.netty.channel.ChannelHandlerContext ctx) |
void |
declareExchange(String exchangeName,
String exchangeType,
boolean passive,
boolean durable) |
void |
declareQueue(ShortString queue,
boolean passive,
boolean durable,
boolean autoDelete) |
InMemoryMessageAggregator |
getMessageAggregator() |
public void declareExchange(String exchangeName, String exchangeType, boolean passive, boolean durable) throws BrokerException
BrokerExceptionpublic void declareQueue(ShortString queue, boolean passive, boolean durable, boolean autoDelete) throws BrokerException
BrokerExceptionpublic void bind(ShortString queue, ShortString exchange, ShortString routingKey) throws BrokerException
BrokerExceptionpublic ShortString consume(ShortString queueName, ShortString consumerTag, boolean exclusive, io.netty.channel.ChannelHandlerContext ctx) throws BrokerException
BrokerExceptionpublic void close()
public void cancelConsumer(ShortString consumerTag) throws AmqpException
AmqpExceptionpublic InMemoryMessageAggregator getMessageAggregator()
Copyright © 2017 WSO2. All rights reserved.