[ https://issues.apache.org/activemq/browse/CAMEL-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60539#action_60539 ]
Claus Ibsen commented on CAMEL-2924: ------------------------------------ But what do you use the resolveEndpoint for? The getEndpointUri is important for Camel to use a consistent uri so it can lookup endpoints in its registry. The http endpoint has lenient parameters, which means that you want to use the *same* http endpoint but being able to send different parameters to the http server {code} http://foo.com?a=foo http://foo.com?a=bar http://foo.com?a=foo&beer=yes {code} Should all use the same http endpoint, and thus get endpoint uri returns the same for all 3 instances. This is by design. The httpClient parameters is passed to the underlying HTTPClient instance which does the actual HTTP work. > 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.