Package com.github.fridujo.rabbitmq.mock
Class AmqArguments
- java.lang.Object
-
- com.github.fridujo.rabbitmq.mock.AmqArguments
-
public class AmqArguments extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAmqArguments.Overflow
-
Field Summary
Fields Modifier and Type Field Description static StringDEAD_LETTER_EXCHANGE_KEYstatic StringDEAD_LETTER_ROUTING_KEY_KEYstatic StringMAX_PRIORITY_KEYstatic StringMESSAGE_TTL_KEYstatic StringOVERFLOW_KEYstatic StringQUEUE_MAX_LENGTH_BYTES_KEYstatic StringQUEUE_MAX_LENGTH_KEY
-
Constructor Summary
Constructors Constructor Description AmqArguments(Map<String,Object> arguments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AmqArgumentsempty()Optional<ReceiverPointer>getAlternateExchange()Optional<ReceiverPointer>getDeadLetterExchange()Optional<String>getDeadLetterRoutingKey()Optional<Long>getMessageTtlOfQueue()AmqArguments.Overflowoverflow()Optional<Integer>queueLengthBytesLimit()Optional<Integer>queueLengthLimit()Optional<Short>queueMaxPriority()
-
-
-
Field Detail
-
DEAD_LETTER_EXCHANGE_KEY
public static final String DEAD_LETTER_EXCHANGE_KEY
- See Also:
- Constant Field Values
-
DEAD_LETTER_ROUTING_KEY_KEY
public static final String DEAD_LETTER_ROUTING_KEY_KEY
- See Also:
- Constant Field Values
-
MESSAGE_TTL_KEY
public static final String MESSAGE_TTL_KEY
- See Also:
- Constant Field Values
-
QUEUE_MAX_LENGTH_KEY
public static final String QUEUE_MAX_LENGTH_KEY
- See Also:
- Constant Field Values
-
QUEUE_MAX_LENGTH_BYTES_KEY
public static final String QUEUE_MAX_LENGTH_BYTES_KEY
- See Also:
- Constant Field Values
-
OVERFLOW_KEY
public static final String OVERFLOW_KEY
- See Also:
- Constant Field Values
-
MAX_PRIORITY_KEY
public static final String MAX_PRIORITY_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
empty
public static AmqArguments empty()
-
getAlternateExchange
public Optional<ReceiverPointer> getAlternateExchange()
-
getDeadLetterExchange
public Optional<ReceiverPointer> getDeadLetterExchange()
-
overflow
public AmqArguments.Overflow overflow()
-
-