[ 
https://issues.apache.org/jira/browse/ARTEMIS-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346254#comment-17346254
 ] 

Raymond edited comment on ARTEMIS-3299 at 5/17/21, 4:21 PM:
------------------------------------------------------------

My use case is similar to the one of web console (using browse). I have an 
ActiveMQ Backend (supporting both classic and artemis). For my angular frontend 
it's easier to use the listMessagesAsJson. This method also doesn't return the 
payload of the message. I just need to list for the page (not all messages and 
not the payload).

See: [https://github.com/assimbly/connector/tree/develop/brokerModule]


was (Author: skin27):
My use case is similar to one of web console. I have an ActiveMQ Backend 
(supporting both classic and artemis). For my angular frontend it's easier to 
use the listMessagesAsJson. This method also doesn't return the payload of the 
message. I just need to list for the page (not all messages).

See: https://github.com/assimbly/connector/tree/develop/brokerModule

> 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)

Reply via email to