camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4363) Allow for static file handlers to be added to the jetty component
Date Wed, 07 Sep 2011 01:05:10 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098514#comment-13098514
] 

Willem Jiang commented on CAMEL-4363:
-------------------------------------

@Joshua,
Because jetty endpoint share the server which listen to the same port across the JVM. If we
don't publish the servlet on the root, we can't add or remove the http consumer dynamically
without stopping the server. The side effect of this is we can't let the resource handler
work as expect.


> 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

        

Mime
View raw message