Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3713

Fix RequestMapping logic according latest Spring MVC changes

    XMLWordPrintable

    Details

    • Type: Refactoring
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.2 M1
    • Component/s: HTTP Support
    • Labels:

      Description

      The latest MVC changes has this new condition:

      MappingDefinition<T> definition = this.methodLookup.get(newHandlerMethod.getMethod());
      if (definition != null) {
      	throw new IllegalStateException("Cannot map " + newHandlerMethod.getMethod() +
      	"\nto " + mapping + ".\n It is already mapped to " + definition.getMapping());
      }
      

      See linked Spring Framework issue.

      The usage common private static final Method HANDLE_REQUEST_METHOD for all Integration handleRequest isn't valid any more.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abilan Artem Bilan
              Reporter:
              abilan Artem Bilan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: