deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Pénet <l.pe...@senat.fr>
Subject Re: Advice on accessing @RequestScoped bean in service thread
Date Thu, 21 Jul 2016 18:11:19 GMT
Ok, found it 

On https://deltaspike.apache.org/documentation/container-control.html

Read "Attach a RequestContext to a New Thread in EE".

I think I will write an interceptor to make it even easier to use.

Thanks !

Le 21 juillet 2016 19:35:44 GMT+02:00, "l.penet@senat.fr" <l.penet@senat.fr> a écrit
:
>On 21/07/2016 19:20, John D. Ament wrote:
>> Ludovic,
>>
>> Are you using context control to start a request context on the
>websockets
>> thread?
>No.
>
>But if that's your recommendation, I can do that.
>
>Where do I find it in the doc ?
>
>Thank you !
>
>Ludovic
>
>|
>| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
>|

-- 
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message