Hi Friso,
the example in JAX-RS and your case is the same.
We are using executor service to show that it IS possible to send/store
SseEventSink instances and work with them from another Thread.
Having said that, your case is ok and will work as it does now. The only
thing is (and I believe that is just a "typo" on your side) is that it
must be different Thread, not a Process, as is mentioned in the code
snippet you've presented.
Best regards,
Pavel
On 09/03/2017 00:24, vrolijken_at_yahoo.com wrote:
>
> Hi Pavel,
>
> Does this clear things up?
> https://gist.github.com/vrolijken/a342094ea72c51ff82339504c7e1321c
>
> Groeten,
>
> Friso
>