cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-6685) CXF Thread Safety via Proxy.
Date Thu, 19 Nov 2015 12:16:11 GMT


Sergey Beryozkin commented on CXF-6685:

Is it a question or a real JIRA issue ? Just would like to clarify before closing it, because
the questions have to be asked at the CXF users list, thanks 

> CXF Thread Safety via Proxy.
> ----------------------------
>                 Key: CXF-6685
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>            Reporter:  Bharat Savanur
> Hi,
> We are using JAXRsClientFactory client proxy as rest client. We have the following requirement
where we need to update the header Cookie information if the calling the method throws Redirect
> The following approach is what we have followed:
> a)  Create a Singleton Proxy Service in the system which is thread safe.(by passing true
as third parameter in the method call).
> b)  This will be used across multiple threads.
> c) When anyone of the requests fail, what we do is we set the new value of cookie for
all the singleton service by accesssing httpConduit and settings its cookie.
> Is there any alternative approach for the above.
> Thanks and Regards,
> Bharat Savanur

This message was sent by Atlassian JIRA

View raw message