Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 026FD10EC9 for ; Thu, 15 Aug 2013 02:54:40 +0000 (UTC) Received: (qmail 60719 invoked by uid 500); 15 Aug 2013 02:54:38 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 60495 invoked by uid 500); 15 Aug 2013 02:54:38 -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 60485 invoked by uid 99); 15 Aug 2013 02:54:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 02:54:36 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of imawangyi@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 02:54:32 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V9nhU-0004QZ-0a for users@camel.apache.org; Wed, 14 Aug 2013 19:54:12 -0700 Date: Wed, 14 Aug 2013 19:54:12 -0700 (PDT) From: yiwang To: users@camel.apache.org Message-ID: <1376535252011-5737283.post@n5.nabble.com> In-Reply-To: <1376474427241-5737243.post@n5.nabble.com> References: <1376474427241-5737243.post@n5.nabble.com> Subject: Re: Why can not get the data MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 1.Is not the reason to add "/" 2.public class TestHttpCamel { private Main main; public static void main(String args[]) throws Exception { TestHttpCamel example = new TestHttpCamel(); example.boot(); } public void boot() throws Exception { main = new Main(); main.enableHangupSupport(); main.addRouteBuilder(new RouteBuilder() { public void configure() { from("http://localhost:8080/wms/query_all_handlover_note?type=source") .to("file:d:/temp/outbox?fileName=data.txt"); } }); main.run(); } } still not get the data. The HTTP routing write wrong or need what configuration? -- View this message in context: http://camel.465427.n5.nabble.com/Why-can-not-get-the-data-tp5737243p5737283.html Sent from the Camel - Users mailing list archive at Nabble.com.