HA/Failover support with Artemis
See original GitHub issueI am trying to use spring-boot-starter-artemis in my application so that I can utilize auto-configuration, as well as an embedded broker with testing, although I am unable to set up high availability/failover with auto-configuration for non-test code. The only method I have been successful with is creating my own ConnectionFactory, which then prevents me from using an embedded broker via application.properties because it seems that auto-configuration is then disabled. Our application previously used ActiveMQ which allowed us to define the failover in the broker URL. Does anyone have any idea how to achieve this with Artemis?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:12 (7 by maintainers)
Top Results From Across the Web
High Availability and Failover | ActiveMQ Artemis Documentation
Apache ActiveMQ Artemis supports two different strategies for backing up a server shared store and replication. Which is configured via the ha-policy ...
Read more >Receiving connection failure exception using artemis ...
The following error is thrown when the broker it's connected to is killed. Raw. javax.jms.JMSException: AMQ119016: Connection failure detected.
Read more >Active MQ Artemis, most of the addresses and queue ...
Active MQ Artemis, most of the addresses and queue disappeared after HA failover · Are you using shared-store or replication? · I was...
Read more >Manage ActiveMQ Artemis standalone and clusters
A puppet module to install and configure ActiveMQ Artemis. PLEASE NOTE: Legacy ActiveMQ is NOT supported by this module. Requirements. A working ...
Read more >JDBC HA failover, is this supported? - The Mail Archive
With Artemis 2.9.0, I am trying to use a shared JDBC store between 2 nodes. I have configured high availability with the failover,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We discussed this one at the last meeting and decided we didn’t want to extend our JMS support in that direction. The customizer does its job quite nicely anyway IMO.
Thanks for the suggestion in any case.
@kmandalas you’ve already answered that question yourself and @jbertram gave you several hints already. If Artemis has the capability (it has), then there’s nothing stopping you from configuring that for your Spring applications. Once #10739 is implemented, then you can specify the url using configuration only and let the auto-configuration drives things for you.
If you have more questions, please follow-up on StackOverflow, as mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.