mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425879 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dfaa05d556
commit
4724913279
|
@ -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 _)
|
||||
|
|
Loading…
Reference in New Issue