Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: 4.1.2
-
Component/s: Core
-
Labels:
Description
When @IdempotentReceiver is present in a @Bean method which returns a MessageHandler, the IdempotentReceiverInterceptor cannot be applied. If the @Bean method returns a Transformer, then it works fine.
It seems @Bean for a MessageHandler has a complex id which the IdempotentReceiverAutoProxyCreator failed to match the bean name and apply the IdempotentReceiverInterceptor.
Testing config and client have been attached to reproduce the issue.