camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Lewis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-2559) HttpComponent only checks the registry for an HttpClientConfigurer, setHttpClientConfigurer no longer works.
Date Thu, 18 Mar 2010 15:09:45 GMT

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

Stan Lewis resolved CAMEL-2559.
-------------------------------

    Resolution: Fixed

> HttpComponent only checks the registry for an HttpClientConfigurer, setHttpClientConfigurer
no longer works.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2559
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2559
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 2.2.0
>            Reporter: Stan Lewis
>            Assignee: Stan Lewis
>             Fix For: 2.3.0
>
>
> Basically you can't currently do this:
> {code}
>             public void configure() {
>                 ProxyHttpClientConfigurer configurer = new ProxyHttpClientConfigurer(
>                         "proxyhost",
>                         80,
>                         "user",
>                         "password",
>                         null,
>                         null);
>                 getContext().getComponent("http", HttpComponent.class).setHttpClientConfigurer(configurer);
>                 from("direct:start")
>                     .to("http://www.google.com/search");
>             }
> {code}
> HttpComponent only looks in the registry for an HttpClientConfigurer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message