IBM Worklight - How to change dynamically domain/hostname to which the adapter connects from the client at launch or runtime?

后端 未结 4 1243
耶瑟儿~
耶瑟儿~ 2020-12-11 08:25

When configuring WL HTTP Adapters, the domain and port are part of the adapter configuration .xml file build and uploaded on the WL server. For our use case (especially beta

4条回答
  •  不思量自难忘°
    2020-12-11 09:07

    You could create 3 adapters: 2 adapters connect to each backend servers, and one "proxy" adapter.

    Your application would call the proxy adapter, passing some variable (the dropdown). Then the proxy would call one of the 2 real adapters.

提交回复
热议问题