If I understand things right. With this configuration, when a message is
sent, the client has 5000 ms to respond with the ACK, or the message will
be resent, and this will occur a maximum of 3 times, at which point the
message will be sent to the DLQ, and only be retrieved by the admin taking
a look at it.

Furthermore, my queues can hold a very large number of messages, when no
one is subscribed, until my disk is 90% used up or 100MB is exceeded.

Is that correct?

...
<max-disk-usage>90</max-disk-usage>
<global-max-size>100Mb</global-max-size>
...
        <address-setting match="#">

<default-address-routing-type>ANYCAST</default-address-routing-type>
            <default-queue-routing-type>ANYCAST</default-queue-routing-type>
            <dead-letter-address>DLQ</dead-letter-address>
            <expiry-address>ExpiryQueue</expiry-address>
            <redelivery-delay>5000</redelivery-delay>
            <max-delivery-attempts>3</max-delivery-attempts>
            <!-- with -1 only the global-max-size is in use for limiting -->
            <max-size-bytes>-1</max-size-bytes>

<message-counter-history-day-limit>10</message-counter-history-day-limit>
            <address-full-policy>PAGE</address-full-policy>
            <auto-create-queues>true</auto-create-queues>
            <auto-create-addresses>true</auto-create-addresses>
            <auto-create-jms-queues>true</auto-create-jms-queues>
            <auto-create-jms-topics>true</auto-create-jms-topics>
         </address-setting>

On Wed, Aug 12, 2020 at 12:53 PM Justin Bertram <jbert...@apache.org> wrote:

> > ws://<mymachinename>.<mydomainname>:61613
>
> That's an invalid URL for the Artemis CLI (as noted by the exception). You
> need to use a URL like the one you used before for the "producer" command,
> e.g.:
>
>   tcp://<yourmachinename>.<yourdomainname>:61616
>
>
> Justin
>
> On Wed, Aug 12, 2020 at 11:48 AM Christopher Pisz <
> christopherp...@gmail.com>
> wrote:
>
> > ws://<mymachinename>.<mydomainname>:61613
> >
> > On Wed, Aug 12, 2020 at 12:22 PM Justin Bertram <jbert...@apache.org>
> > wrote:
> >
> > > And the URL you're using?
> > >
> > >
> > > Justin
> > >
> > > On Wed, Aug 12, 2020 at 11:18 AM Christopher Pisz <
> > > christopherp...@gmail.com>
> > > wrote:
> > >
> > > >  sudo ./artemis browser --destination queue://chat --verbose
> > > >
> > > > On Wed, Aug 12, 2020 at 12:12 PM Justin Bertram <jbert...@apache.org
> >
> > > > wrote:
> > > >
> > > > > What's the exact command you're using?
> > > > >
> > > > >
> > > > > Justin
> > > > >
> > > > > On Wed, Aug 12, 2020 at 11:05 AM Christopher Pisz <
> > > > > christopherp...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > When I try that, I type in the same url I use to connect
> including
> > > the
> > > > > > :<port>, the username and password i created the instance with,
> and
> > > it
> > > > > > tells me java.lang.RuntimeException:
> > java.lang.NullPointerException:
> > > > > Schema
> > > > > > hansel04.alertinnovation.com not found
> > > > > >
> > > > > > On Tue, Aug 11, 2020 at 2:29 PM Justin Bertram <
> > jbert...@apache.org>
> > > > > > wrote:
> > > > > >
> > > > > > > You can use the "browser" command which is part of the ActiveMQ
> > > > Artemis
> > > > > > > CLI, e.g.:
> > > > > > >
> > > > > > >   > cd <ACTIVEMQ_ARTEMIS_INSTANCE>/bin
> > > > > > >   > ./artemis browser --destination queue://myQueue --verbose
> > > > > > >
> > > > > > >
> > > > > > > Justin
> > > > > > >
> > > > > > > On Tue, Aug 11, 2020 at 1:20 PM Christopher Pisz <
> > > > > > > christopherp...@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Unfortunately when I try to forward x over ssh and bring up
> > > > Firefox,
> > > > > it
> > > > > > > is
> > > > > > > > nearly completely unresponsive. Is there another way that
> > doesn't
> > > > > > > require a
> > > > > > > > browser?
> > > > > > > >
> > > > > > > > On Tue, Aug 11, 2020, 12:49 Justin Bertram <
> > jbert...@apache.org>
> > > > > > wrote:
> > > > > > > >
> > > > > > > > > > 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