[
https://issues.apache.org/jira/browse/ARTEMIS-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346352#comment-17346352
]
Justin Bertram edited comment on ARTEMIS-3299 at 5/18/21, 12:43 PM:
--------------------------------------------------------------------
Given your use-case I see a couple of more appealing (in my opinion) options:
* Use {{browse}} and just ignore the payload. If the payload is too large to
ignore then use the new {{management-message-attribute-size-limit}} attribute
from ARTEMIS-3175 once 2.18.0 is released to minimize the payload.
* Add another version of {{browse}} with new flag like {{omitPayload}}.
In any case, I don't see any compelling reason to touch {{listMessagesAsJson}}
or {{listMessages}}.
was (Author: jbertram):
Given your use-case I see a couple of more appealing (in my opinion) options:
* Use {{browse}} and just ignore the payload. If the payload is too large to
ignore then use the new {{management-message-attribute-size-limit}} attribute
from ARTEMIS-3175 once 2.18.0 is released to minimize the payload.
* Add another version of {{browse}} with new flag like {{omitPayload}}.
In any case, I don't see any compelling reason to touch {{listMessagesAsJson}]
or {{listMessages}}.
> QueueControl: listMessages with page and pageSize
> -------------------------------------------------
>
> Key: ARTEMIS-3299
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3299
> Project: ActiveMQ Artemis
> Issue Type: Wish
> Components: API
> Affects Versions: 2.17.0
> Reporter: Raymond
> Priority: Minor
>
> On the QueueControl API the listMessages and listMessagesAsJson only use a
> filter as a parameter
> ([https://activemq.apache.org/components/artemis/documentation/javadocs/javadoc-latest/org/apache/activemq/artemis/api/core/management/QueueControl.html#listMessagesAsJSON-java.lang.String-).
> ]The browse methods also allow page and pageSize as parameter (as well
> combined with a filter). I would like these available as well on listMessages
> and listMessagesAsJson.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)