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 8022E9D48 for ; Tue, 24 Jul 2012 13:53:23 +0000 (UTC) Received: (qmail 61777 invoked by uid 500); 24 Jul 2012 13:53:23 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 61754 invoked by uid 500); 24 Jul 2012 13:53:23 -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 61731 invoked by uid 99); 24 Jul 2012 13:53:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 13:53:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bittergeek@gmail.com designates 209.85.161.173 as permitted sender) Received: from [209.85.161.173] (HELO mail-gg0-f173.google.com) (209.85.161.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 13:53:15 +0000 Received: by ggnp1 with SMTP id p1so7598936ggn.32 for ; Tue, 24 Jul 2012 06:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=v/r5q+wy8UMga4yJ39t0kD6ilI2WjrFqaWKUTzp3/ZU=; b=avAZocXkJv8a7oi+Q6sJIoRxM+y4TY5dhopPicDrf0YZWWfZ5Ca80lJcGewFuJ5UY5 4+yOZqjuVqnaner4nUFl++bh4poxZ4/45zasrYTTuwl9IDqCHpmxtbp043he6oD6CiAk +mcPANc2W2zLElgKese9zmSmnxRMaRJWle6R5PTJL9KOLCSzcGmE30I8E7ECQMZlpIbe RP4rPHPH65T93J13J9ketaAKQxm+++uHLXJw/knxhsOtEqSLg6wsGodNm9ljgtUE3ZEs KT16rCNSbGgqO00Fp+YQynnkWIYZPT5GPRKiH+UwB/GvocuiQUWkNJ6hkdUtnYc+GgsI tknA== MIME-Version: 1.0 Received: by 10.43.48.8 with SMTP id uu8mr15667555icb.31.1343137974114; Tue, 24 Jul 2012 06:52:54 -0700 (PDT) Received: by 10.64.25.76 with HTTP; Tue, 24 Jul 2012 06:52:54 -0700 (PDT) Date: Tue, 24 Jul 2012 14:52:54 +0100 Message-ID: Subject: Rest client From: bitter geek To: users Content-Type: text/plain; charset=ISO-8859-1 Hi All, I'm a bit confused with the sample code for creating rest endpoint. I do not have access to the rest service class but only want to create a rest endpoint to use with camel. Do I only need to create rsClient tag? If so, what class do I put there for serviceClass? Why does it need a serviceClass if this endpoint is just used to make an http request? In addition, how do I get hold of this endpoint in Java? Thanks a lot for your help! Bing /////////////////////////////////////////////////////