When you specify the option value which is start with “#”, camel always looks 
up the instance  from the registry with the rest of string. 

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On February 2, 2015 at 1:58:31 AM, Tim Dudgeon (tdudgeon...@gmail.com) wrote:
> 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 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.
> >>
>  
>  

Reply via email to