activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r1425879 - /activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
Date Wed, 26 Dec 2012 11:03:33 GMT
Author: rajdavies
Date: Wed Dec 26 11:03:33 2012
New Revision: 1425879

URL: http://svn.apache.org/viewvc?rev=1425879&view=rev
Log: (empty)

Modified:
    activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala

Modified: activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala?rev=1425879&r1=1425878&r2=1425879&view=diff
==============================================================================
--- activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
(original)
+++ activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
Wed Dec 26 11:03:33 2012
@@ -176,10 +176,8 @@ class LevelDBStore extends LockableServi
 
   def objectName = {
     var brokerON = brokerService.getBrokerObjectName
-    val broker_name = brokerON.getKeyPropertyList().get("BrokerName")
-    new ObjectName(brokerON.getDomain() + ":" +
-            "BrokerName="+JMXSupport.encodeObjectNamePart(broker_name)+ "," +
-            "Type=LevelDBStore");
+    new ObjectName(brokerON.toString() +",persistentAdapter=LevelDBStore");
+
   }
 
   def retry[T](func : =>T):T = RetrySupport.retry(LevelDBStore, isStarted, func _)



Mime
View raw message