activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r384297 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
Date Wed, 08 Mar 2006 18:16:36 GMT
Author: rajdavies
Date: Wed Mar  8 10:16:33 2006
New Revision: 384297

URL: http://svn.apache.org/viewcvs?rev=384297&view=rev
Log:
shorten subscription name

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java?rev=384297&r1=384296&r2=384297&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
Wed Mar  8 10:16:33 2006
@@ -167,7 +167,7 @@
     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(



Mime
View raw message