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

INT-3672: Fix IdempotentReceiver for MH @Beans #1405

Closed
wants to merge 1 commit into from

Conversation

artembilan
Copy link
Member

JIRA: https://jira.spring.io/browse/INT-3672

Previously the IdempotentReceiverInterceptor has been applied only for the MessageHandlers which were registered with .handler suffix.

Rework IdempotentReceiverAutoProxyCreatorInitializer and IdempotentReceiverAutoProxyCreator to get deal with direct MessageHandlers
which can be resulted from @Bean methods.
Use the MessageHandler real bean name instead of endpoint pattern in that case

Cherry-pick to 4.1.x

JIRA: https://jira.spring.io/browse/INT-3672

Previously the `IdempotentReceiverInterceptor` has been applied only for the `MessageHandler`s which were registered with `.handler` suffix.

Rework `IdempotentReceiverAutoProxyCreatorInitializer` and `IdempotentReceiverAutoProxyCreator` to get deal with **direct** `MessageHandler`s
which can be resulted from `@Bean` methods.
Use the `MessageHandler` real bean name instead of `endpoint pattern` in that case

**Cherry-pick to 4.1.x**
@garyrussell
Copy link
Contributor

Merged and cherry-picked.

@artembilan artembilan deleted the INT-3672 branch May 8, 2015 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants