public class AmqpChannel extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(long deliveryTag,
boolean multiple) |
void |
bind(ShortString queue,
ShortString exchange,
ShortString routingKey,
FieldTable arguments) |
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) |
int |
getChannelId()
Getter for channelId
|
InMemoryMessageAggregator |
getMessageAggregator() |
int |
getNextConsumerTag() |
long |
getNextDeliveryTag() |
void |
recordMessageDelivery(long deliveryTag,
AckData ackData) |
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, FieldTable arguments) 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()
public void acknowledge(long deliveryTag,
boolean multiple)
public int getNextConsumerTag()
public long getNextDeliveryTag()
public int getChannelId()
public void recordMessageDelivery(long deliveryTag,
AckData ackData)
Copyright © 2017 WSO2. All rights reserved.