Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 22220 invoked from network); 19 Mar 2010 05:18:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Mar 2010 05:18:57 -0000 Received: (qmail 50439 invoked by uid 500); 19 Mar 2010 05:18:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 50265 invoked by uid 500); 19 Mar 2010 05:18:57 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 50256 invoked by uid 99); 19 Mar 2010 05:18:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 05:18:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 05:18:50 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NsUbN-0006Bn-Et for users@camel.apache.org; Thu, 18 Mar 2010 22:18:29 -0700 Message-ID: <27950896.post@talk.nabble.com> Date: Thu, 18 Mar 2010 22:18:29 -0700 (PDT) From: Tapdur To: users@camel.apache.org Subject: camel:http Get /PATH MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: tapdur75@gmail.com hi i have a big issue with the http component i want in the header HTTP_URI only the path without prefix by the host. by defaut it won't be ok to(http://@ip/path -> HTTP_URI = GET http://@IP/path i try this from(direct:notif) .setHeader(Exchange.HTTP_URI,"/path") .to(http://@ip); it fails , host null how manage this ? any idea ? Thx Bruno -- View this message in context: http://old.nabble.com/camel%3Ahttp-Get--PATH-tp27950896p27950896.html Sent from the Camel - Users mailing list archive at Nabble.com.