tomekw/hikari-cp

additional configuration option: register-mbeans

Deepak1100 opened this issue · 2 comments

hello,
I am trying to enable jmx monitoring for hikari-cp. But register-mbeans to setRegisterMbeans is not currently present.
(.setRegisterMbeans register-mbeans)

Hi!

Would it work for you to set it using the configure option? It would probably something along the lines of:

(make-datasource {:configure (fn [cfg] (.setRegisterMbeans ...))})

Thanks for adding it in #22!