You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2015/11/19 14:23:10 UTC

[jira] [Resolved] (CXF-6685) CXF Thread Safety via Proxy.

     [ https://issues.apache.org/jira/browse/CXF-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-6685.
-----------------------------------
    Resolution: Won't Fix
      Assignee: Sergey Beryozkin

I've reread it: it is a question - please ask at the CXF users list, thanks

> CXF Thread Safety via Proxy.
> ----------------------------
>
>                 Key: CXF-6685
>                 URL: https://issues.apache.org/jira/browse/CXF-6685
>             Project: CXF
>          Issue Type: Bug
>            Reporter:  Bharat Savanur
>            Assignee: Sergey Beryozkin
>
> 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 Exception.
> 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
(v6.3.4#6332)