Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import jakarta.jms.MessageProducer;
import jakarta.jms.Session;
import java.util.function.Function;
import java.util.function.Supplier;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.management.openmbean.CompositeData;
Expand Down Expand Up @@ -524,6 +523,16 @@ public void setMaxPageSize(int pageSize) {
destination.setMaxPageSize(pageSize);
}

@Override
public int getMaxBrowsePageSize() {
return destination.getMaxBrowsePageSize();
}

@Override
public void setMaxBrowsePageSize(int browsePageSize) {
destination.setMaxBrowsePageSize(browsePageSize);
}

@Override
public boolean isUseCache() {
return destination.isUseCache();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,19 @@ public String sendTextMessageWithProperties(@MBeanInfo("properties") String prop
*/
public void setMaxPageSize(@MBeanInfo("pageSize") int pageSize);

/**
* @return the maximum number of message to be paged into the
* destination for browsing
*/
@MBeanInfo("Maximum number of messages to be paged in for browsing")
public int getMaxBrowsePageSize();

/**
* @param browsePageSize
* Set the maximum number of messages to page in the destination for browsing
*/
public void setMaxBrowsePageSize(@MBeanInfo("browsePageSize") int browsePageSize);

/**
* @return true if caching is allowed of for the destination
*/
Expand Down