Restlet Component Connection Keep-Alive

2010-02-10 Thread tfredrich
Hi All, We're using the Restlet component to expose some public camel routes and are interested in leveraging the "connection: keep-alive" feature of http 1.1. However, no matter what we try, the response still includes "connection: close" and we're wondering what piece is missing. How do we ge

Restlet multiple endpoint considerations

2009-08-25 Thread tfredrich
When using the Restlet component to expose tidy URIs, what would you recommend regarding exposing routes as multiple endpoints? For instance, a single endpoint returns JSON (e.g. /people/toddf returns a JSON object describing person ID 'toddf'). Now suppose I want to expose the same endpoint wit

Re: CamelContext No Longer Auto-Wires Via Package Element?

2009-07-07 Thread tfredrich
Hi Claus, Thanks for your reply. I downloaded and tried with the snapshot dated Tue Jul 07 17:52:26 GMT+00:00 2009. I got no love... :-( The SpringInjector is still attempting to instantiate the route builders using the default constructor instead of auto-wiring using the constructor that take

CamelContext No Longer Auto-Wires Via Package Element?

2009-07-06 Thread tfredrich
We recently upgraded from Camel-M1 to Camel-M2. Using Spring XML to configure the context using the package element, our context looks like: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/sc

Re: Restlet Component File Upload Handling

2009-03-03 Thread tfredrich
As usual, one thing calls for another... I created a MultipartRestletBinder that simply overrides populateExchangeFromRestletRequest(), checks for multipart content, and leverages the FileUpload extension if applicable. However, once that operated appropriately (for my case of uploading images),

Restlet Component File Upload Handling

2009-02-27 Thread tfredrich
Does the Restlet component handle file uploading? I'm not sure how to configure a Restlet endpoint to use the Restlet FileUploader extension. Your help is MUCH appreciated. Thanks in advance, --Todd -- View this message in context: http://www.nabble.com/Restlet-Component-File-Upload-Handling-

Re: Restlet Component Fault Handling

2009-02-27 Thread tfredrich
A proposed change to DefaultRestletBinding is attached. This patch worked great for me, enabling me to set the fault header and exception (without having to also set headers on the out message), and get the expected result in response. http://www.nabble.com/file/p22248469/DefaultRestletBinding.

Restlet Component Fault Handling

2009-02-23 Thread tfredrich
I'm utilizing the Restlet component (via a Trunk build) and am interested in better understanding error handling behavior via the exchange fault message. BTW, I appreciate your work on this component! Good stuff, indeed. In essence, I'm simply using camel-restlet to expose a JSON RESTful servic