Interface MessageGroupMap

All Known Implementing Classes:
CachedMessageGroupMap, MessageGroupHashBucket, SimpleMessageGroupMap

public interface MessageGroupMap
Represents a map of JMSXGroupID values to consumer IDs
  • Method Details

    • put

      void put(String groupId, org.apache.activemq.command.ConsumerId consumerId)
    • get

      org.apache.activemq.command.ConsumerId get(String groupId)
    • removeGroup

      org.apache.activemq.command.ConsumerId removeGroup(String groupId)
    • removeConsumer

      MessageGroupSet removeConsumer(org.apache.activemq.command.ConsumerId consumerId)
    • removeAll

      void removeAll()
    • getGroups

      Map<String,String> getGroups()
      Returns:
      a map of group names and associated consumer Id
    • getType

      String getType()
    • setDestination

      void setDestination(Destination destination)