Package org.springframework.amqp.support
Interface ConsumerTagStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A strategy interface to determine the consumer tag to be used when issuing a
basicConsume
operation.- Since:
- 1.4.5
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptioncreateConsumerTag
(String queue) Create the consumer tag, optionally based on the queue name that the consumer will listen to.
-
Method Details
-
createConsumerTag
Create the consumer tag, optionally based on the queue name that the consumer will listen to. Consumer tags must be unique.- Parameters:
queue
- The queue name that this consumer will listen to.- Returns:
- The consumer tag.
-