You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2018/10/12 08:44:00 UTC

[jira] [Created] (CAMEL-12877) Spring WebMVC support via HandlerAdapter/HandlerMapping

Zoran Regvart created CAMEL-12877:
-------------------------------------

             Summary: Spring WebMVC support via HandlerAdapter/HandlerMapping
                 Key: CAMEL-12877
                 URL: https://issues.apache.org/jira/browse/CAMEL-12877
             Project: Camel
          Issue Type: New Feature
          Components: camel-spring
            Reporter: Zoran Regvart
            Assignee: Zoran Regvart


I think we could benefit from having a more Spring WebMVC native way of exposing REST routes. Right now we're using {{camel-servlet}}, a more Springy way of doing that would be to register a HandlerAdapter/HandlerMapping(s) with DispatcherServlet. One immediate benefit would be that the mappings would dictate what paths/URLs are handled by Spring and what are handled by Camel, allowing for some overlap between them. Also Spring this would allow Spring HandlerInterceptors to be used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)