Package com.rabbitmq.client.amqp
Interface Management.QuorumQueueSpecification
- Enclosing interface:
Management
public static interface Management.QuorumQueueSpecification
Specification of a quorum queue.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe dead letter strategy.deadLetterStrategy
(String strategy) The dead letter strategy (as a string).deliveryLimit
(int limit) Set the delivery limit (for poison message handling).initialMemberCount
(int initialMemberCount) Set the number of initial members the quorum queue should have.queue()
Go back to the queue specification.quorumInitialGroupSize
(int size) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
deadLetterStrategy
The dead letter strategy (as a string).- Parameters:
strategy
- dead letter strategy- Returns:
- quorum queue specification
- See Also:
-
deadLetterStrategy
Management.QuorumQueueSpecification deadLetterStrategy(Management.QuorumQueueDeadLetterStrategy strategy) The dead letter strategy.- Parameters:
strategy
- dead letter strategy- Returns:
- quorum queue specification
- See Also:
-
deliveryLimit
Set the delivery limit (for poison message handling).- Parameters:
limit
- delivery limit- Returns:
- quorum queue specification
- See Also:
-
quorumInitialGroupSize
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, useinitialMemberCount(int)
instead.- Parameters:
size
- group size- Returns:
- quorum queue specification
- See Also:
-
initialMemberCount
Set the number of initial members the quorum queue should have.- Parameters:
initialMemberCount
- initial number of nodes- Returns:
- quorum queue specification
- See Also:
-
queue
Management.QueueSpecification queue()Go back to the queue specification.- Returns:
- queue specification
-