Http component 30 sec timeout is not reflecting even though it is set in code

Solution Unverified - Updated -

Issue

  • I'm going to use http4 for one bundle in production. If i have to define httpClientConfigurerRef with http4, Is it possible to define below configuration, as it was working fine for http:
public class MyHttpClientConfigurer implements HttpClientConfigurer {
    @Override
    public void configureHttpClient(HttpClient client) {
         DefaultHttpMethodRetryHandler retryhandler = new DefaultHttpMethodRetryHandler(0, false); 
            client.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, retryhandler); 


    }
}

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content