> How can I get a message to be "journaled?"

A message which is stored in the journal is a "persistent" or "durable"
message. Every API and protocol handles this in a different but similar
way. If you're using STOMP and you want your message to be stored in the
journal then set the "persistent" header to "true".

> How can I get a message into the DLQ?

First you have to configure the proper settings to send messages to a DLA
when they fail delivery a certain number of times. Refer to the docs [1] on
how to do that. Then the message has to fail delivery the configured number
of times. A failed delivery could occur if, for example, a client receives
a message, fails to acknowledge the message, and then the client closes its
connection.

> How can I, as an admin, view those messages?

Use the web console.


Justin

[1]
http://activemq.apache.org/components/artemis/documentation/latest/undelivered-messages.html

On Tue, Aug 11, 2020 at 12:04 PM Christopher Pisz <christopherp...@gmail.com>
wrote:

> I got my activemq instance up and have a stomp acceptor working. My client
> connects and I can subscribe and send messages.
>
> I have been reading the docs for days. I still don't understand the
> journals, dead letter queue etc.
>
> Can someone walk me through
> How can I get a message to be "journaled?"
> How can I get a message into the DLQ?
> How can I, as an admin, view those messages?
>

Reply via email to