Author Topic: Hot-standby and Java SDK  (Read 6358 times)

s.kulku

  • Guest
Hot-standby and Java SDK
« on: May 21, 2007, 12:19:51 AM »
Good evening fellow Genesys programmers!

Can somebody please explain to me how to code HA with Java Platform SDK?

Thank you so much!

Sanja Kulku
Technical Product Manager

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Hot-standby and Java SDK
« Reply #1 on: May 21, 2007, 07:13:19 AM »
  • Best Answer
  • Hi Sanje,

    If we're talking about Voice Platform SDK then there is no coding related to HA required (with one exception). Genesys libraries handle HA situations internally and your product is informed about the change by receiving the event "EventPrimaryChanged". The exception I've mentioned in my first sentence is the situation when primary TServer is unavailable - your application should know connection parameters of backup TServer and try to connect it when primary is not accessible.

    I don't have information about handling HA situations for Configuration/Statistics Platform SDK.

    René

    Offline victor

    • Administrator
    • Hero Member
    • *****
    • Posts: 1416
    • Karma: 18
    Re: Hot-standby and Java SDK
    « Reply #2 on: May 21, 2007, 09:25:28 AM »
  • Best Answer
  • Or, you can just open a second connection to a backup TServer and just wait for EventServerRoleChanged :)