Re: HA with replication not working in artemis 2.19.1

2025-04-14 Thread Niraj Kumar Rohit
Before we hav hornetq ,now we have to replace hornetq with artemis 2.19.1 On Tue, 15 Apr, 2025, 12:22 am Justin Bertram, wrote: > To clarify, you have a legacy product using Java 8, and you're embedding > ActiveMQ Artemis in it for the first time? > > > Justin > > On Mon, Apr 14, 2025 at 11:42 A

Re: HA with replication not working in artemis 2.19.1

2025-04-14 Thread Justin Bertram
To clarify, you have a legacy product using Java 8, and you're embedding ActiveMQ Artemis in it for the first time? Justin On Mon, Apr 14, 2025 at 11:42 AM Niraj Kumar Rohit < nirajkumarro...@gmail.com> wrote: > Hi Justin > > Using 2.19.1 because product is legacy and it is on java 8. > > On M

Re: HA with replication not working in artemis 2.19.1

2025-04-14 Thread Niraj Kumar Rohit
Hi Justin Using 2.19.1 because product is legacy and it is on java 8. On Mon, 14 Apr, 2025, 6:42 pm Justin Bertram, wrote: > > i want to enable the web console in artemis 2.19.1. > > I answered a question similar to this on Stack Overflow [1] awhile back > that should give you a good idea of

Re: HA with replication not working in artemis 2.19.1

2025-04-14 Thread Justin Bertram
> i want to enable the web console in artemis 2.19.1. I answered a question similar to this on Stack Overflow [1] awhile back that should give you a good idea of what's needed. Aside from that, is there a specific reason you're using 2.19.1? That version was released in June of 2022 almost 3 yea

Re: HA with replication not working in artemis 2.19.1

2025-04-14 Thread Niraj Kumar Rohit
Hi justin Thanks , I am able to achieve HA by xml as well as API also. I was missing the connector configuration. New Requirement:- i want to enable the web console in artemis 2.19.1. What are the steps I need to do. I am using embbededActivemq.java to start the artemis. Thanks Niraj

Re: HA with replication not working in artemis 2.19.1

2025-04-08 Thread Justin Bertram
In the code you shared I don't see any evidence that you're properly configuring your brokers to cluster. A pair of brokers using replication need a valid cluster to discover each other. This is noted in the documentation [1] which states, "A proper cluster configuration is required as a pre-requis

HA with replication not working in artemis 2.19.1

2025-04-08 Thread Niraj Kumar Rohit
Hi USE CASE:-- 1.We have one app which run in two server DP1 AND DP2 2.Both DP1 and DP2 using embedded EmbeddedActiveMQ.java API to run apache activemq artemis. 3.if i start DP1 1st then it is become live server and DP2 become backup and vice versa 4.Now i shutdown DP1 then DP2 should live