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

Sergey Beryozkin commented on CXF-2036:
---------------------------------------

This is covered with Failover Feature, you probably need to register 
org.apache.cxf.clustering.FailoverFeature and set a RetryStrategy, etc 
                
> Add option to retry a http request on socket error to http client
> -----------------------------------------------------------------
>
>                 Key: CXF-2036
>                 URL: https://issues.apache.org/jira/browse/CXF-2036
>             Project: CXF
>          Issue Type: New Feature
>          Components: Core, Transports
>    Affects Versions: 2.1.4, 2.2.3
>            Reporter: Dennis Kieselhorst
>            Assignee: Daniel Kulp
>             Fix For: 2.1.7, 2.2.4
>
>         Attachments: cxf-2036.patch
>
>
> See 
> http://www.nabble.com/Retry-on-java.net.SocketTimeoutException%3A-Read-timed-out-td21939913.html
> The client gets 'java.net.SocketTimeoutException: Read timed out' because the 
> remote server is currently busy or 'java.net.SocketException: Connection 
> reset' because of a network issue.
> A new option in the http client configuration can catch these errors for a 
> number of times and only throws the exception, if retry was not successful.
>   <http-conf:conduit 
> name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit";>
>     <http-conf:client RetryOnSocketError="2" />
>   </http-conf:conduit>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to