Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 523 Bytes

File metadata and controls

21 lines (14 loc) · 523 Bytes

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.