# Spring Boot JMS  Retry Connect configuration

**URL:** <https://community.solace.com/t/spring-boot-jms-retry-connect-configuration/930>\
**Category:** Connectors & Integrations\
**Tags:** spring\
**Created:** [September 10, 2021, 5:27pm UTC](https://community.solace.com/t/spring-boot-jms-retry-connect-configuration/930 "2021-09-10T17:27:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsudabathula](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@bsudabathula](https://community.solace.com/u/bsudabathula)\
**Post date:** [September 10, 2021, 5:27pm UTC](https://community.solace.com/t/spring-boot-jms-retry-connect-configuration/930/1 "2021-09-10T17:27:17Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Aaron](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/aaron/32/843_2.png) [@Aaron](https://community.solace.com/u/Aaron)\
**Post date:** [September 10, 2021, 7:50pm UTC](https://community.solace.com/t/spring-boot-jms-retry-connect-configuration/930/2 "2021-09-10T19:50:53Z")

</div>

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:

> **[JMS API](https://docs.solace.com/API/Solace-JMS-API/jms-get-started-open.htm)**
