Set proxyBeansMethod to false when no method is called

This commit is contained in:
陈其苗 2020-03-21 17:19:04 +08:00 committed by Juergen Hoeller
parent 0e5f27c94e
commit 0463d7fcb9
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -37,7 +37,7 @@ import org.springframework.jms.config.JmsListenerEndpointRegistry;
* @see JmsListenerEndpointRegistry
* @see EnableJms
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
public class JmsBootstrapConfiguration {