🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Client side configuration when connecting to broker in HA setup

rdesoju
rdesoju Member Posts: 66

Hi,
Is there any additional configuration that we need to use besides configuring below in the Producer/Consumer code in order to make sure it fails over to other when one fails or releases activity to other.
properties.setProperty(JCSMPProperties.HOST, "HOST1,HOST2");

Thanks,
Raghu

Tagged:

Best Answer

Answers

  • Abhikesh
    Abhikesh Member Posts: 34 ✭✭

    @rdesoju That's specific to environment, In Some case people use DNS Name instead of IP and Data IP of Both Solace appliance point to one single name (Host) Also whenever fail-over occurred you don't need to change anything on Consumer/Publisher side.
    Solace use feature of VRRP for internal fail-over.

  • rdesoju
    rdesoju Member Posts: 66

    Thank you @marc for the detailed information. Yes, it is definitely helpful.
    Regards,
    Raghu