[
https://issues.apache.org/jira/browse/CAMEL-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098814#comment-13098814
]
Joshua Watkins commented on CAMEL-4363:
---------------------------------------
I think I understand what you are saying. I will have to get myself a bit more
familiar with the workings of the Jetty Servlet to fully understand the issue.
The interesting thing is that the CometD component allows for a resource base
to be set to serve up static files. (I guess this is due to it setting the
cometD component to /comet and a DefaultServlet on /.)
Thanks for taking a look at this.
> Allow for static file handlers to be added to the jetty component
> -----------------------------------------------------------------
>
> Key: CAMEL-4363
> URL: https://issues.apache.org/jira/browse/CAMEL-4363
> Project: Camel
> Issue Type: New Feature
> Components: camel-jetty
> Affects Versions: 2.6.0
> Reporter: Joshua Watkins
> Assignee: Willem Jiang
> Priority: Minor
> Labels: camel-jetty, handler, jetty
>
> As per the discussion here:
> http://camel.465427.n5.nabble.com/Serving-static-pages-with-JettyComponent-td4711870.html
> A Jetty ResourceHandler or a ServletContextHandler cannot be added to the
> jetty server to serve up pages that are not processed via camel routes. It
> would be nice to utilize the currently running jetty server to serve up
> pages/resources other than those represented via camel routes.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira