Skip to content

Commit 0463d7f

Browse files
chenqimiaojhoeller
authored andcommitted
Set proxyBeansMethod to false when no method is called
1 parent 0e5f27c commit 0463d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-jms/src/main/java/org/springframework/jms/annotation/JmsBootstrapConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@
3737
* @see JmsListenerEndpointRegistry
3838
* @see EnableJms
3939
*/
40-
@Configuration
40+
@Configuration(proxyBeanMethods = false)
4141
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
4242
public class JmsBootstrapConfiguration {
4343

0 commit comments

Comments
 (0)