File tree Expand file tree Collapse file tree
activemq-broker/src/main/java/org/apache/activemq/broker/jmx Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131import jakarta .jms .MessageProducer ;
3232import jakarta .jms .Session ;
3333import java .util .function .Function ;
34- import java .util .function .Supplier ;
3534import javax .management .MalformedObjectNameException ;
3635import javax .management .ObjectName ;
3736import javax .management .openmbean .CompositeData ;
@@ -524,6 +523,11 @@ public void setMaxPageSize(int pageSize) {
524523 destination .setMaxPageSize (pageSize );
525524 }
526525
526+ @ Override
527+ public int getMaxBrowsePageSize () {
528+ return destination .getMaxBrowsePageSize ();
529+ }
530+
527531 @ Override
528532 public boolean isUseCache () {
529533 return destination .isUseCache ();
Original file line number Diff line number Diff line change @@ -417,6 +417,13 @@ public String sendTextMessageWithProperties(@MBeanInfo("properties") String prop
417417 */
418418 public void setMaxPageSize (@ MBeanInfo ("pageSize" ) int pageSize );
419419
420+ /**
421+ * @return the maximum number of message to be paged into the
422+ * destination for browsing
423+ */
424+ @ MBeanInfo ("Maximum number of messages to be paged in for browsing" )
425+ public int getMaxBrowsePageSize ();
426+
420427 /**
421428 * @return true if caching is allowed of for the destination
422429 */
You can’t perform that action at this time.
0 commit comments