MaxDurableConnectionReconnectAttempts can also be specified from the client application:
In the client application, prior to creating the InitialContext and lookup the ConnectionFactory, add the line below to the code to set the environment property for MaxDurableConnectionReconnectAttempts.

Adaptavist ThemeBuilder EngineAtlassian Confluence