cxf-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CXF-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013425#comment-15013425
] 

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: https://issues.apache.org/jira/browse/CXF-6685
>             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
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)

Mime
View raw message