I am creating a project with Spring-Boot that uses JMS over ActiveMq.
I set the following properties:
spring.activemq.broker-url=tcp://127.0.0.1:35000
spring.activemq.pooled=true
It is working fine, but I have no control over the properties of the connection pool. For example, I want to set the max number of connections in the connection pool.
Is there a way to set that?
And if I tried to configure ActiveMq myself in my Spring context xml file, Spring-boot is complaining about having problem with Autowiring 2 ConnectionFactory
!
Is there a way to tell Spring-Boot not to autoconfigure any ActiveMq connection factory? (done by ActiveMQConnectionFactoryConfiguration
in the spring-boot-autoconfigure
library)