restlet usage

2009-01-20 Thread nojonojo
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 abo

Re: restlet usage

2009-01-21 Thread nojonojo
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: > >

sql component with no parameters

2009-01-21 Thread nojonojo
>From observing behavior and looking at the code of SqlProducer, it doesn't seem like it's possible to use a query with no binding parameters (and thus no body) with the SQL component. Is this true, or is there something that I'm missing? -- View this message in context: http://www.nabble.com/s

Re: restlet usage

2009-01-21 Thread nojonojo
Okay, next question on usage of the restlet component. I'm trying to POST a new resource via a rest call. My route looks something like: from("restlet:http://localhost:8080/users/{username}?restletMethod=POST";).process(new SetUserProcessor()); Where SetUserProcessor might do some processing.

Re: sql component with no parameters

2009-01-23 Thread nojonojo
rote: > > What do you mean by 'no binding parameters' ? > Can you provide an example of what you would like to do and the route > please ? > > > nojonojo wrote: >> >> From observing behavior and looking at the code of SqlProducer, it >> doesn

Re: restlet usage / process

2009-02-02 Thread nojonojo
Nolan nojonojo wrote: > > > Okay, next question on usage of the restlet component. > > I'm trying to POST a new resource via a rest call. My route looks > something like: > > from("restlet:http://localhost:8080/users/{username}?restletMethod=POST";).p

Re: restlet response content type and return code

2009-02-03 Thread nojonojo
what content type / status code to use, and the current behavior would be retained if not specified. nojonojo wrote: > > > Is there a way to set the content type and return code on the response > sent by the Restlet component? Looking at the code, it's clear that the &g

restlet component and query string parameters

2009-02-09 Thread nojonojo
It looks like parameters sent in the query string of a request processed by the restlet component don't make it into the Camel message anywhere, and thus aren't usable by the application. The use of query string parameters isn't very rest-like, but there are a few cases where it's desirable or n

Re: Testing using Camel Test or Spring Testing or Guice

2009-02-13 Thread nojonojo
Camel-test isn't appearing in the 2.0 snapshots. Nolan willem.jiang wrote: > > Hi > Since Camel-2.0 is not released yet, you can dowload the snapshot from > here [1]. Please add this repository into your pom.xml, and set the > camel version to be 2.0-SNAPSHOT. > > > > apache.snap

Re: Testing using Camel Test or Spring Testing or Guice

2009-02-13 Thread nojonojo
Let me clarify - I chose a poor message to respond to. It's not appearing in the standalone snapshot downloads (not related to the maven repository). nojonojo wrote: > > > Camel-test isn't appearing in the 2.0 snapshots. > > Nolan > > > willem.jiang wrot

Restlet component and alternate character sets

2009-03-12 Thread nojonojo
It appears to me that the Restlet component doesn't support character sets other than the default. In general, Camel uses the Exchange.CHARSET_NAME property in the Exchange to determine which character set to use in conversions between binary and String representations. The DefaultRestletBinding

off-topic: spam filter not letting messages through to mailing list

2009-04-02 Thread nojonojo
Sorry for the off-topic post. I have made several attempts to post a message to the mailing list through Nabble about a bug in the Restlet component. All of my postings have been rejected by the mailing list as spam. Does anybody have any suggestions as to how I might get the message through?