public class QueueDeclarator extends Object
| Modifier and Type | Method and Description |
|---|---|
com.rabbitmq.client.AMQP.Queue.DeclareOk |
declare(com.rabbitmq.client.Channel channel) |
com.rabbitmq.client.AMQP.Queue.DeclareOk |
declare(MockChannel channel) |
static QueueDeclarator |
dynamicQueue() |
static QueueDeclarator |
queue(String queueName) |
QueueDeclarator |
withDeadLetterExchange(String deadLetterExchange) |
QueueDeclarator |
withDeadLetterRoutingKey(String deadLetterRoutingKey) |
QueueDeclarator |
withMaxLength(int maxLength) |
QueueDeclarator |
withMaxLengthBytes(int maxLengthBytes) |
QueueDeclarator |
withMaxPriority(int maxPriority) |
QueueDeclarator |
withMessageTtl(long messageTtlInMs) |
QueueDeclarator |
withOverflow(AmqArguments.Overflow overflow) |
public static QueueDeclarator queue(String queueName)
public static QueueDeclarator dynamicQueue()
public QueueDeclarator withMessageTtl(long messageTtlInMs)
public QueueDeclarator withDeadLetterExchange(String deadLetterExchange)
public QueueDeclarator withDeadLetterRoutingKey(String deadLetterRoutingKey)
public QueueDeclarator withMaxLength(int maxLength)
public QueueDeclarator withMaxLengthBytes(int maxLengthBytes)
public QueueDeclarator withOverflow(AmqArguments.Overflow overflow)
public QueueDeclarator withMaxPriority(int maxPriority)
public com.rabbitmq.client.AMQP.Queue.DeclareOk declare(com.rabbitmq.client.Channel channel)
throws IOException
IOExceptionpublic com.rabbitmq.client.AMQP.Queue.DeclareOk declare(MockChannel channel)
Copyright © 2022. All rights reserved.