Spring Boot JMS Retry Connect configuration
I am using SpringBoot Solace JMS AutoConfig and i would like to know how can we add connect retires and reconnect-retries to the JMSTemplate and JMSListener.
We are using the Solace Java client Library and we can handle this configuration through the below properties .
solace.java.connect-retries
solace.java.reconnect-retries
Also, is there any way to see all the default solace configuration using Sop statement ?
Comments
-
There are JNDI connection factory settings that expose reconnect retries. If using the Solace broker as your JNDI source, you can edit them on there.
If you are creating your connection factory programmatically, settings are like:
https://docs.solace.com/Solace-JMS-API/JNDI-Connection-Properti.htm#jms_properties_39190069_3024540