0

Spring-Boot can auto-configure a Connection Factory when it get that Artemis is available on the classpath. But how we can configure spring-boot application to native Artemis cluster (multiple nodes)

Baba
  • 311
  • 1
  • 2
  • 12

1 Answers1

1

If you are using TRICT value of message-load-balancing in broker.xml. then you need to create as many connections as many nodes you are using. In spring you can use MessageListenerContainer to listen to the consumer. Here is a sample app to connect to the cluster(with 2 node)

Bhushan Uniyal
  • 5,575
  • 2
  • 22
  • 45