This version is still in development and is not considered stable yet. For the latest stable version, please use Spring AMQP 3.2.0! |
Consumer Tags
You can provide a strategy to generate consumer tags.
By default, the consumer tag is generated by the broker.
The following listing shows the ConsumerTagStrategy
interface definition:
public interface ConsumerTagStrategy {
String createConsumerTag(String queue);
}
The queue is made available so that it can (optionally) be used in the tag.