solace starter / spring boot 3.2.0 compatibility.

Hi,

Solace starter is behind in terms of spring boot versions. I'm trying to upgrade to spring boot 3.2.0 but it's causing issues with the existing latest solace spring boot starter 2.0.0 (issue detail further below). It works fine with spring boot 3.1.6 version.

Are there any plans to upgrade the spring boot dependency version to 3.2.0?

<groupId>com.solace.spring.boot</groupId>
<artifactId>solace-jms-spring-boot-starter</artifactId>
<version>2.0.0</version>

Exception stack trace:
java.lang.IllegalStateException: Error processing condition on com.solace.spring.boot.autoconfigure.SolaceJmsAutoConfiguration
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator.shouldSkip(ConfigurationClassBeanDefinitionReader.java:470)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:131)

(…removed)
Caused by: java.lang.IllegalArgumentException: Invalid value type for attribute 'factoryBeanObjectType': java.lang.String
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getTypeForFactoryBeanFromAttributes(FactoryBeanRegistrySupport.java:86)
(…removed)

Tagged:

Comments

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 955 admin

    Hi @kemalerden,

    Thanks for letting us know there is an issue here. If you didn't already, please open a support ticket as this will likely require a new release to fix.

    thank you!

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 955 admin

    If anyone else comes across this issue @kemalerden let me know that Spring released spring-cloud-dependencies 2023.0.0 today and together with spring boot 3.2.0 and existing solace it is now working.

    So these versions do not run into this exception:

    • org.springframework.cloud:spring-cloud-dependencies:2023.0.0
    • com.solace.spring.boot:solace-spring-boot-bom:2.0.0
    • org.springframework.boot:spring-boot-starter-parent:3.2.0