Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 51631 invoked from network); 21 Jan 2009 15:15:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2009 15:15:57 -0000 Received: (qmail 15412 invoked by uid 500); 21 Jan 2009 15:15:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 15395 invoked by uid 500); 21 Jan 2009 15:15:56 -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 15384 invoked by uid 500); 21 Jan 2009 15:15:56 -0000 Delivered-To: apmail-activemq-camel-user@activemq.apache.org Received: (qmail 15381 invoked by uid 99); 21 Jan 2009 15:15:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 07:15:56 -0800 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 (nike.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; Wed, 21 Jan 2009 15:15:47 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LPenf-0002Tr-4p for camel-user@activemq.apache.org; Wed, 21 Jan 2009 07:15:27 -0800 Message-ID: <21585150.post@talk.nabble.com> Date: Wed, 21 Jan 2009 07:15:27 -0800 (PST) From: nojonojo To: camel-user@activemq.apache.org Subject: Re: restlet usage In-Reply-To: <21577501.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: n0_j0@yahoo.com References: <21572086.post@talk.nabble.com> <21577501.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks much - not sure why I didn't notice that. I had been using restlet 1.0.11 instead of 1.1.1. Understood about the documentation. It's better to have something working with sparse documentation than to have it well documented and not working! P.Budzik wrote: > > > nojonojo wrote: >> >> I'm possibly interested in working with camel-restlet (2.0, since it >> doesn't exist before then). First off, is there any documentation >> besides that on http://camel.apache.org/restlet.html the restlet >> component page ? >> >> I'm having two problems. The first is conceptual - the page that I >> linked above really doesn't describe how camel integrates with Restlet, >> it just shows a trivial "Hello, world!" level example. I can probably >> figure it out if I can get things working in general, but more >> documentation there would be helpful. >> > > This component is really fresh stuff delivered recently however I'm glad > to see folks being interested in it. You're right, the documentation is > sparse. I was going to extend that, but as usual there was no time :) I > assure you anyway it works in a real project not only for "hello world". > You can count at least on me and William for working out your problem. > > > >> Secondly, I can't get a (simpler) "Hello world" sample to work. At this >> point, I'm not interested in the authentication part. The following is >> the class that I'm using: >> .... >> Being new to Camel, I really don't know where to start. >> > > Seems that you have some dependency problem. Look at the excerpt from my > libs: > > path="M2_REPO/com/noelios/restlet/com.noelios.restlet/1.1.1/com.noelios.restlet-1.1.1.jar"/> > path="M2_REPO/com/noelios/restlet/com.noelios.restlet.ext.simple/1.1.1/com.noelios.restlet.ext.simple-1.1.1.jar"/> > path="M2_REPO/org/restlet/org.restlet/1.1.1/org.restlet-1.1.1.jar"/> > > Do your versions match with that? It looks like the binding class is > calling Form.getValuesMap() and the one on the classpath has a different > signature. > > -- View this message in context: http://www.nabble.com/restlet-usage-tp21572086s22882p21585150.html Sent from the Camel - Users mailing list archive at Nabble.com.