activemq
activemq copied to clipboard
AMQ-9775: Add the maxBrowsePageSize attribute to the JMX destination MBean
This PR adds the maxBrowsePageSize attribute to the JMX destination MBean.
As described in the Jira (AMQ-9775), the maxBrowsePageSize property can be set in the destination policies, in the broker.
I have several use cases where client applications are interested to get this metric (via JMX or REST with Jolokia):
- know the browse paging limit to "optimize" paging/browsing on client side (faster)
- get detail about the limit to "recommend" update on the paging limit
I can add a test about this new JMX attribute.
@jbonofre please add a test for queue AND topic subscription recovery policy to catch regression