Kalyan
Kalyan

Reputation: 11

How can i auto configure Spring boot to create 2 different activeMQ connection factories and JMSTemplates?

In other words receiving messages from a Queue on Server 1 to Queue on Server 2? different Url's and different servers.

Appreciate all your help on this. Thanks, Kalyan

Upvotes: 1

Views: 1244

Answers (1)

Stephane Nicoll
Stephane Nicoll

Reputation: 33151

You can't. Spring Boot does not support auto-configuration for several connection factories, just like it does not support auto-configuration for several data sources.

Upvotes: 1

Related Questions