Spring boot 3 and JMS configuration for Amazon SQS
The latest spring boot (i.e. 3.0.1) uses Spring JMS 6.0.3. And the latest Spring JMS that comes with the latest spring boot for ConnectionFactory uses jakarta.jms.ConnectionFactory, while the older JMS was using javax.jms.ConnectionFactory. This was my bean setup and configuration before:
@Configuration
@EnableJms
class JmsConfiguration {
@Autowired
private lateinit var sqsClient: SqsClient
@Bean
fun sqsConnectionFactory(): SQSConnectionFactory =...