a icon indicating copy to clipboard operation
a copied to clipboard

Browse Limited to 400 messages?

Open tledwar opened this issue 4 years ago • 3 comments

I recently discovered a fairly large dead letter queue and am trying too output (not dump; yet) the messages to files. When I run java -jar a-1.4.8-jar-with-dependencies.jar -b "ssl://localhost:61617" -U "procellaworkers" -P "dm9YDfSMKEKA0WB7qMcFkjoVKawOkuzw" ActiveMQ.DLQ -c 0 -j -o "messages/dlq" the output stops at 400.

I am concerned that if I do use dump in the future, that it will also be limited to 400.

tledwar avatar Apr 06 '20 19:04 tledwar

I now see that ActiveMQ has maxBrowsePageSize which defaults to 400. See: https://activemq.apache.org/per-destination-policies

I see you mention this in -C for copy queue, but not elsewhere.

Can this be changed in your client or do we have to change this in the Broker itself on the server?

tledwar avatar Apr 06 '20 19:04 tledwar

I have attempted to use Dump and only receive a single message.

tledwar avatar Apr 06 '20 19:04 tledwar

Have you tried the dump option with the parameter -c 0?

faabsen avatar Aug 18 '20 10:08 faabsen

There is nothing more to add to this. maxBrowsePageSize is the only way to browse more messages.

northlander avatar Feb 20 '23 07:02 northlander