Skip to content

Commit 993b3af

Browse files
author
致节
committed
enable com.alipay.sofa.proxy.bean default
1 parent 620f9e0 commit 993b3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/runtime/SofaRuntimeAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public static ServiceBeanFactoryPostProcessor serviceBeanFactoryPostProcessor()
159159
}
160160

161161
@Bean
162-
@ConditionalOnProperty(prefix = "com.alipay.sofa.proxy.bean", name = "enabled", havingValue = "true")
162+
@ConditionalOnProperty(prefix = "com.alipay.sofa.proxy.bean", name = "enabled", havingValue = "true", matchIfMissing = true)
163163
public static ProxyBeanFactoryPostProcessor proxyBeanFactoryPostProcessor() {
164164
return new ProxyBeanFactoryPostProcessor();
165165
}

0 commit comments

Comments
 (0)