Hi John,
I would need to look in more detail, but I think the answer is it depends
:) The client does use ThreadLocal's for its configuration. However, with
something like MP Context Propagation that should be able to handle that.
If you're running in newer versions of WildFly it should work as well if
you use Jakarta EE Concurrency for threads.
What container or environment are you running in?
On Wed, May 4, 2022 at 9:28 AM John Ulrik <ujay68(a)gmail.com> wrote:
Would like to inquire about the current state of thead-safety of the
RESTEasy implementation of the JAX-RS javax.ws.rs.client.Client. There
seems to be a discussion about how to get this into the spec, here:
https://github.com/jakartaee/rest/issues/494
Apart from not yet being in the current spec, is there an "official"
statement how RESTEasy handles this now? Can we already rely on the Client
being thread-safe or should we keep a ThreadLocal for clients?
Thanks
John
_______________________________________________
resteasy mailing list -- resteasy(a)lists.jboss.org
To unsubscribe send an email to resteasy-leave(a)lists.jboss.org
--
James R. Perkins
JBoss by Red Hat