Hi,
Is there a way to reuse the same headless client from multiple other clients.
The main question is how do I get the client UUID and how do other clients get this UUID
Regards,
globals.jsclient = plugins.headlessclient.createClient("test_hc", "hn","hn", hcArgs)
application.output('jscl= ' + globals.jsclient)
application.output('cl= ' + globals.jsclient.getClientID())
jscl= JSClient[AAE5FF59-2D6A-4758-AABD-3A107082761C]
cl= AAE5FF59-2D6A-4758-AABD-3A107082761C
ptalbot wrote:You can also use Velocity in pool mode to manage that pool of headless workers called by web services - then the web service can return a value
the problem would not be too much on the Velocity side, but that you would probably use the http plugin to send a call to your web service, whether a get or a post or put request, in any case, the call to executeRequest() would be a blocking one.
Return to Servoy Headless Client
Users browsing this forum: No registered users and 1 guest