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.