Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browse Limited to 400 messages? #44

Closed
tledwar opened this issue Apr 6, 2020 · 4 comments
Closed

Browse Limited to 400 messages? #44

tledwar opened this issue Apr 6, 2020 · 4 comments
Assignees
Labels

Comments

@tledwar
Copy link

tledwar commented Apr 6, 2020

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
Copy link
Author

tledwar commented Apr 6, 2020

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
Copy link
Author

tledwar commented Apr 6, 2020

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

@faabsen
Copy link

faabsen commented Aug 18, 2020

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

@northlander
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants