Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 92198 invoked from network); 18 Oct 2008 17:08:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2008 17:08:41 -0000 Received: (qmail 6694 invoked by uid 500); 18 Oct 2008 17:08:43 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 6674 invoked by uid 500); 18 Oct 2008 17:08:43 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 6663 invoked by uid 99); 18 Oct 2008 17:08:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Oct 2008 10:08:42 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG 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; Sat, 18 Oct 2008 17:07:33 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KrFHe-0005yu-Kv for camel-user@activemq.apache.org; Sat, 18 Oct 2008 10:08:10 -0700 Message-ID: <20048788.post@talk.nabble.com> Date: Sat, 18 Oct 2008 10:08:10 -0700 (PDT) From: HockeyDave To: camel-user@activemq.apache.org Subject: camel-http instructions wrong MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: david_peterson4146@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Camel-http documents a way to send query parameters, but it doesn't work. http://activemq.apache.org/camel/http.html Specifically this section: -------------------------- URI Parameters from the Message Map headers = new HashMap(); headers.put(HttpProducer.QUERY, "q=Camel&lr=lang_en"); // we query for Camel and english language at Google template.sendBody("http://www.google.com/search", "", headers); ------------------------ However the signature of this call doesn't even exist. Attempting to use a different signature template.sendBody("http://www.google.com/search, headers); also won't work because the parameters just gets jammed into a post-body. You can't leave the query actually on the URI either because you'll get a can't find endpoint failure. This is kind of a rock and a hard place issue as there doesn't seem to be any way to get there from here. :) The issue seems to be covered in this forum entry, but I don't see any kind of a workaround for this. Does anyone have a workaround? http://www.nabble.com/HttpGet-Issue-with-1.4.0-td18899762s22882.html#a18899762 Thanks Dave -- View this message in context: http://www.nabble.com/camel-http-instructions-wrong-tp20048788s22882p20048788.html Sent from the Camel - Users mailing list archive at Nabble.com.