camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dudgeon <tdudgeon...@gmail.com>
Subject Re: REST DSL - including documents
Date Sun, 01 Feb 2015 17:57:58 GMT
Taariq

Thanks so much! Works nicely.
I don't get the hash bit.
The only mention in the docs is like this:
from("jetty:http://0.0.0.0:9080/myservice?handlers=securityHandler")
which doesn't use a #.
What's the # doing?

Tim

On 01/02/2015 15:47, Taariq Levack wrote:
> Tim you missed the hash in the context handler, should be #contextHandler
> I also had to redefine that handler, you'll find the working code in your
> gist.
>
> Taariq
>
>
>
> On Sat, Jan 31, 2015 at 8:56 PM, Tim Dudgeon <tdudgeon.ml@gmail.com> wrote:
>
>> Pinging again on this.
>> I looked over my attempts to add a ContextHandler to Jetty to serve up
>> static content and can't find what's wrong.
>> Here's the gist again:
>> https://gist.github.com/tdudgeon/2f242578fd0742e713a7
>> The mechanism for adding a ContextHandler does work in standalone Jetty
>> though I can't get it to work in my example. Could it be a difference in
>> the
>> Jetty version (the one used by Camel is quite old).
>> And I did get other handlers (authentication) to work in camel.
>>
>> Thanks
>> Tim
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/REST-DSL-including-documents-tp5762034p5762283.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message