Jakub created AMQ-6774:
--------------------------

             Summary: No PersistenceAdapter MBean registered
                 Key: AMQ-6774
                 URL: https://issues.apache.org/jira/browse/AMQ-6774
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMX, Message Store
    Affects Versions: 5.14.5
            Reporter: Jakub


According to documentation: http://activemq.apache.org/jmx.html a 
PersistenceAdapter MBean should be available but it doesn't. Without it it's 
not possible to monitor JDBC storage and related connections pool.

Configuration:
{{<jdbcPersistenceAdapter adapter="postgresql-jdbc-adapter" 
dataSource="#postgres-ds" lockKeepAlivePeriod="3000" maxRows="500" >
                <adapter>
                    <postgresql-jdbc-adapter/>
                </adapter>
                <locker>
                    <lease-database-locker lockAcquireSleepInterval="10000" 
leaseHolderId="ectsp-lease-id" maxAllowableDiffFromDBTime="5000" 
queryTimeout="5"/>
                </locker>
            </jdbcPersistenceAdapter>}}

The org.apache.activemq.broker.jmx.BrokerMBeanSupport provides method  
createPersistenceAdapterName but probably it is never invoked.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to