Consistent validation of annotated methods behind AOP proxies
Issue: SPR-13816
This commit is contained in:
@@ -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