mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-27 17:49:02 +00:00
Consistent validation of annotated methods behind AOP proxies
Issue: SPR-13816
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@ public class JmsListenerAnnotationBeanPostProcessor
|
||||
* @see JmsListenerEndpointRegistrar#registerEndpoint
|
||||
*/
|
||||
protected void processJmsListener(JmsListener jmsListener, Method mostSpecificMethod, Object bean) {
|
||||
Method invocableMethod = MethodIntrospector.selectInvocableMethod(mostSpecificMethod, bean.getClass());
|
||||
Method invocableMethod = AopUtils.selectInvocableMethod(mostSpecificMethod, bean.getClass());
|
||||
|
||||
MethodJmsListenerEndpoint endpoint = createMethodJmsListenerEndpoint();
|
||||
endpoint.setBean(bean);
|
||||
|
||||
Reference in New Issue
Block a user