camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: R: Dynamically change HTTP endpoint parameters
Date Sat, 17 Jul 2010 11:15:48 GMT
FYI,the patch of CAMEL-2950 is applied into camel trunk, please check 
out the latest Camel 2.5-SNAPSHOT to verify the fix :)

Willem
----------------------------------
  Apache Camel, Apache CXF committer
  Open Source Integration http://www.fusesource.com
  Blog http://willemjiang.blogspot.com
  Tiwtter http://twitter.com/willemjiang

Willem Jiang wrote:
> Yes, they are the same problem.
> Current camel-http component can't deal with the address part rightly.
> It should skip the URI which protocal part is not start with http: or 
> https, in this way we could register a customer protocal name for it.
> 
> I just create a JIRA[1] for it.
> 
> [1]https://issues.apache.org/activemq/browse/CAMEL-2950
> 
> Willem
> ----------------------------------
> Apache Camel, Apache CXF committer
> Open SOA http://www.fusesource.com
> Blog http://willemjiang.blogspot.com
> Tiwtter http://twitter.com/willemjiang
> 
> Cappa Roberto wrote:
>> The two versions:
>>
>> HttpComponent httpComponent = new HttpComponent();
>>         getContext().addComponent("http2", httpComponent);
>>
>>
>> or
>> getContext().addComponent("http2", getContext().getComponent("http"));
>>
>> have the same behaviour when the endpoint is used (the  "unsupported 
>> protocol: 'http2'" exception). Probably there is another problem.
>>
>> Thanks
>>

Mime
View raw message