shorten subscription name

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384297 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-03-08 18:16:33 +00:00
parent 242353b56c
commit cbd5960e5a
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ public class ManagedRegionBroker extends RegionBroker{
public void registerSubscription(ConnectionContext context,Subscription sub){
SubscriptionKey key = new SubscriptionKey(context.getClientId(),sub.getConsumerInfo().getSubcriptionName());
Hashtable map=brokerObjectName.getKeyPropertyList();
String name = key.toString() + ":" + sub.getConsumerInfo().toString();
String name = key.toString() + ":" + sub.getConsumerInfo().getConsumerId().toString();
try{
ObjectName objectName = new ObjectName(