ICEpush
  1. ICEpush
  2. PUSH-73

Automatically dispatch to ICEpush from Spring DispatcherServlet

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Environment:
      ICEpush, Spring

      Description


      The current Spring integration example requires web.xml configuration:

          <servlet>
              <servlet-name>icepush</servlet-name>
              <servlet-class>org.icepush.servlet.ICEpushServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
          </servlet>

          <servlet-mapping>
              <servlet-name>icepush</servlet-name>
              <url-pattern>*.icepush</url-pattern>
          </servlet-mapping>


      Through use of Spring annotations (such as @RequestMapping and @Controller) icepush-spring.jar can provide automatic configuration for ICEpush so that simply adding the .jar file to a spring application is sufficient.

      A web.xml parameter can be provided to disable or modify this automatic configuration.

        Activity

        Hide
        Ted Goddard added a comment -

        The pattern detected by ICEpush will need to simultaneously accommodate both path and extension-mapped DispatcherServlet configurations. For instance

        @RequestMapping(value=

        {"*/icepush/*", "*.icepush"}

        , method = RequestMethod.POST)

        Show
        Ted Goddard added a comment - The pattern detected by ICEpush will need to simultaneously accommodate both path and extension-mapped DispatcherServlet configurations. For instance @RequestMapping(value= {"*/icepush/*", "*.icepush"} , method = RequestMethod.POST)

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: