Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RequestMapping logic according latest Spring MVC changes [INT-3713] #7669

Closed
spring-operator opened this issue May 4, 2015 · 0 comments

Comments

@spring-operator
Copy link
Contributor

Artem Bilan opened INT-3713 and commented

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.


Reference URL: https://build.spring.io/browse/INT-MEIGHT-226

Issue Links:

  • SPR-11541 Provide public methods to register and un-register handler method mappings
    ("depends on")

Referenced from: pull request #1434

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants