mirror of https://github.com/apache/activemq.git
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:
parent
242353b56c
commit
cbd5960e5a
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue