Hi,
I wrote a websocket ClientEndpoint to send a message to a websocket server.
The opening of the web socket connection and the sending of the message is called as a Java delegate code on a Send Task.
I would like to ask your advice on how to handle the opening of a session and the sending of the messages throughout a process which has many Send Tasks.
I mean, if I open a session in the beginning of the process, then can I maintain it in the next steps in the process to send messages using this session? How?
Or do you think I should open a new session every time I have a new “Send Task”?
Thanks in advance!