camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Crivellaro (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2924) httpClient.soTimeout property is not returned when getting HTTP endpoint URI
Date Fri, 09 Jul 2010 07:42:51 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60537#action_60537
] 

Marco Crivellaro commented on CAMEL-2924:
-----------------------------------------

calling

uriCamel = ExchangeHelper.resolveEndpoint(exchange, "http://crive.optadev.com/valde/utils/posttest.php?httpClient.soTimeout=5000").getEndpointUri();

will result in uriCamel = "http://crive.optadev.com/valde/utils/posttest.php"

so without the "httpClient.soTimeout=5000"

I've noticed the same behaviour using a retryUntil bean getting the header Exchange.TO_ENDPOINT:
@Header(Exchange.TO_ENDPOINT) String target

target variable will be set to: "http://crive.optadev.com/valde/utils/posttest.php"

> httpClient.soTimeout property is not returned when getting HTTP endpoint URI
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-2924
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2924
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: Windows
>            Reporter: Marco Crivellaro
>
> getting the endpoint URI of an HTTP EndPoint with httpClient.soTimeout property set won't
return the property
> i.e: "http://crive.optadev.com/valde/utils/posttest.php?httpClient.soTimeout=5000" is
returned as "http://crive.optadev.com/valde/utils/posttest.php"
> * I have noticed this using ExchangeHelper.resolveEndpoint:
> String uri = "http://crive.optadev.com/valde/utils/posttest.php?httpClient.soTimeout=5000";
> uri = ExchangeHelper.resolveEndpoint(exchange, uri.trim()).getEndpointUri();
> //uri is now missing httpClient.soTimeout=5000
> * it is also happening reading @Header(Exchange.TO_ENDPOINT)
> this is not happening when using the soTimeout option in FTP component.
> I think this is a major issue as recipientList is making use of ExchangeHelper and therefore
the option will be ingored.

-- 
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