Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 54752 invoked from network); 9 Jul 2010 07:45:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jul 2010 07:45:10 -0000 Received: (qmail 12395 invoked by uid 500); 9 Jul 2010 07:45:10 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 11016 invoked by uid 500); 9 Jul 2010 07:45:06 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 10961 invoked by uid 500); 9 Jul 2010 07:45:05 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 10957 invoked by uid 99); 9 Jul 2010 07:45:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 07:45:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 07:43:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o697gpg8029910 for ; Fri, 9 Jul 2010 07:42:52 GMT Message-ID: <9600843.36831278661371824.JavaMail.jira@thor> Date: Fri, 9 Jul 2010 03:42:51 -0400 (EDT) From: "Marco Crivellaro (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2924) httpClient.soTimeout property is not returned when getting HTTP endpoint URI In-Reply-To: <30932477.35921278601491798.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ 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.