Greetings,

I’ve been reading about failure-hardening our use of Artemis here 
https://activemq.apache.org/components/artemis/documentation/1.1.0/client-reconnection.html

And it mostly seems automatic: “In this scenario, Apache ActiveMQ Artemis will 
automatically re-attach the client sessions to the server sessions when the 
connection reconnects. This is done 100% transparently and the client can 
continue exactly as if nothing had happened.”

However, this concerns me: “If your client does manage to reconnect but the 
session is no longer available on the server, for instance if the server has 
been restarted or it has timed out, then the client won't be able to re-attach, 
and any ExceptionListener or FailureListener instances registered on the 
connection or session will be called.”

Does this mean that, if the broker is bounced for whatever reason, the client 
will get an error in the middle of whatever it was doing?  Are there settings 
to make sessions persistent across restarts? What should be done to handle this?

Thanks
John



[rg] <https://www.redpointglobal.com/>

John Lilley

Data Management Chief Architect, Redpoint Global Inc.

888 Worcester Street, Suite 200 Wellesley, MA 02482

M: +1 7209385761<tel:+1%207209385761> | 
john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com>

PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is confidential 
and is intended solely for the use of the individual(s) to whom it is 
addressed. If you believe you received this e-mail in error, please notify the 
sender immediately, delete the e-mail from your computer and do not copy, print 
or disclose it to anyone else. If you properly received this e-mail as a 
customer, partner or vendor of Redpoint, you should maintain its contents in 
confidence subject to the terms and conditions of your agreement(s) with 
Redpoint.

Reply via email to