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

Fix RequestMapping logic according latest Spring MVC changes

    XMLWordPrintable

Details

    • Refactoring
    • Status: Closed
    • Minor
    • Resolution: Complete
    • None
    • 4.2 M1
    • HTTP Support

    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

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

              Dates

                Created:
                Updated:
                Resolved: