git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425879 13f79535-47bb-0310-9956-ffa450edef68

This commit is contained in:
Robert Davies 2012-12-26 11:03:33 +00:00
parent dfaa05d556
commit 4724913279
1 changed files with 2 additions and 4 deletions

View File

@ -176,10 +176,8 @@ class LevelDBStore extends LockableServiceSupport with BrokerServiceAware with P
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 _)