The default behavior if not specified explicitly is to retry forever. http://activemq.apache.org/failover-transport-reference.html has a description of that parameter (and all the rest).
Tim On Dec 18, 2018 3:36 AM, "BlueSpirit" <adityaguptakan...@gmail.com> wrote: Sorry for the late reply. If I remove 'maxReconnectAttempts', the receiver will never be able to reconnect to the server if its restarted. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html