public class SimpleMessageGroupMap extends Object implements MessageGroupMap
| Constructor and Description |
|---|
SimpleMessageGroupMap() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.activemq.command.ConsumerId |
get(String groupId) |
Map<String,String> |
getGroups() |
String |
getType() |
void |
put(String groupId,
org.apache.activemq.command.ConsumerId consumerId) |
void |
removeAll() |
MessageGroupSet |
removeConsumer(org.apache.activemq.command.ConsumerId consumerId) |
org.apache.activemq.command.ConsumerId |
removeGroup(String groupId) |
void |
setDestination(Destination destination) |
String |
toString() |
public SimpleMessageGroupMap()
public void put(String groupId, org.apache.activemq.command.ConsumerId consumerId)
put in interface MessageGroupMappublic org.apache.activemq.command.ConsumerId get(String groupId)
get in interface MessageGroupMappublic org.apache.activemq.command.ConsumerId removeGroup(String groupId)
removeGroup in interface MessageGroupMappublic MessageGroupSet removeConsumer(org.apache.activemq.command.ConsumerId consumerId)
removeConsumer in interface MessageGroupMappublic void removeAll()
removeAll in interface MessageGroupMappublic Map<String,String> getGroups()
getGroups in interface MessageGroupMappublic String getType()
getType in interface MessageGroupMappublic void setDestination(Destination destination)
setDestination in interface MessageGroupMapCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.