I have a working connection between my Java application and a SAP server through use of SAP JCO. The problem is that my connection is limited to 1 server. There should be an option available for connecting to a SAP message server that acts like a load balancer.
Does anyone have an idea how this works?
My working Hibersap example:
final SessionManagerConfig sessionManagerConfig = new SessionManagerConfig("");
sessionManagerConfig.setContext(JCoContext.class.getName());
sessionManagerConfig.setProperty(DestinationDataProvider.JCO_ASHOST, "");
sessionManagerConfig.setProperty(DestinationDataProvider.JCO_SYSNR, "");
sessionManagerConfig.setProperty(DestinationDataProvider.JCO_CLIENT, "");
sessionManagerConfig.setProperty(DestinationDataProvider.JCO_USER, "");
sessionManagerConfig.setProperty(DestinationDataProvider.JCO_PASSWD, "");
sessionManagerConfig.setProperty(DestinationDataProvider.JCO_LANG, "");
...