Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.64 KB

readme.md

File metadata and controls

27 lines (20 loc) · 1.64 KB

ApacheArtemisCluster Connected with Spring

this implementation is based on clustered static discovery

Please change the user name and password with your server username and password in application.properties

amq.username=admin
amq.password=admin

Here use are using STRICT value of message-load-balancing in broker.xml. In case of STRICT incoming message will be round robin'd even though the same queues on the other nodes of the cluster may have no consumers at all, or they may have consumers that have non matching message filters (selectors). Note that Apache ActiveMQ Artemis will not forward messages to other nodes if there are no queues of the same name on the other nodes, even if this parameter is set to STRICT. Using STRICT is like setting the legacy forward-when-no-consumers parameter to true.

NOTE: HERE we are using 2 nodes inside of cluster so we are using 2 listener in ArtemisConfiguration here is reason