Dear Users,

We are using artemis HA in replica mode with master/slave configuration. From 
the web application we are connecting to the artemis with 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory

ActiveMQConnectionFactory actMQConnFactory = new 
ActiveMQConnectionFactory(connectionURL);

where connectionURL  we are providing as 
(tcp://serverIP1:61616,tcp://serverIP2:61616)?ha=true&reconnectAttempts=3

Without HA mode the data is processing very fast. However, When pushing the 
data into the queue  in HA mode they are processing very slow (almost  triple 
the time )

If the connection URL is changed to tcp://serverIP1:61616 and artemis is 
configured as HA with replica, records are processing fast. And replica is 
created in the slave server.
Issue here we have observed is records are processing slow only if we configure 
the connection URL with ha=true, otherwise it is fast even though artemis is 
configured in Master/Slave replica mode.

Please advise.

Thanks & Regards
Deepthi Kollipara
Public Services Unit
Tata Consultancy Services Limited
[cid:image001.jpg@01D8397E.B9AEC1D0]
[A picture containing text, clipart  Description automatically generated]

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to