Thanks, That's an interesting example.
I'll take a look over it.
In the meantime I kept bashing away at doing it the Jetty way, but don't
quite have it working. I created this gist to try to illustrate it:
https://gist.github.com/tdudgeon/2f242578fd0742e713a7
(note I backed away slightly from what Claus suggested and and tried
doing direct on the jetty endpoint as that seemed simpler).
Everything runs, the jetty and rest routes work fine, but the static
content stubbornly refuses to serve.
The only thing suspicious that I see reported is this:
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - stopped
o.e.j.s.ServletContextHandler{/,null}
Anyone got any thoughts?
Tim
On 23/01/2015 15:54, scottdawson wrote:
Hello,
Here's the JIRA ticket <https://issues.apache.org/jira/browse/CAMEL-7381>
Claus referred to. It appears to be "stalled".
In the meantime you might want to use the code that the new feature is based
on, written by Tracy Snell and documented here
<http://code.notsoclever.cc/writing-camel-component-camel-static-resource/>
.
Regards,
Scott
--
View this message in context:
http://camel.465427.n5.nabble.com/REST-DSL-including-documents-tp5762034p5762064.html
Sent from the Camel - Users mailing list archive at Nabble.com.