Details
-
Type: New Feature
-
Status: Open
-
Priority: 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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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)