Hi,

If I modify the example project: protocols/openwire/message-listener and
change the session to CLIENT_ACKNOWLEDGE and update onMessage to call
message.acknowledge(). If I terminate the process before it has acknowledged
the messages, then I get similar behaviour. The messages remain marked as
being delivered and aren't released until the broker is restarted. There is
one slight difference, as in this test follow up messages aren't being
marked as "delivered", so it's only the messages that were being processed
when the crash occurred that are stuck.

This is using the broker that is part of the example project with no
changes.

Should the broker detect this type of crash and allow the messages that
didn't get processed to be redelivered?

Thanks,
Steve. 



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-all-messages-go-to-Delivering-after-a-client-crash-tp4702940p4702944.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to