From e83e9ba0a8075ac41ad61bea2a20862bfd3bc216 Mon Sep 17 00:00:00 2001 From: leijuan Date: Fri, 10 Apr 2020 16:51:03 -0700 Subject: [PATCH] big fix #47 --- .../spring/boot/rsocket/RSocketListenerAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alibaba-rsocket-spring-boot-starter/src/main/java/com/alibaba/spring/boot/rsocket/RSocketListenerAutoConfiguration.java b/alibaba-rsocket-spring-boot-starter/src/main/java/com/alibaba/spring/boot/rsocket/RSocketListenerAutoConfiguration.java index f4ac4038b..9b26f0d24 100644 --- a/alibaba-rsocket-spring-boot-starter/src/main/java/com/alibaba/spring/boot/rsocket/RSocketListenerAutoConfiguration.java +++ b/alibaba-rsocket-spring-boot-starter/src/main/java/com/alibaba/spring/boot/rsocket/RSocketListenerAutoConfiguration.java @@ -15,7 +15,7 @@ * @author leijuan */ @Configuration -@ConditionalOnExpression("'${rsocket.port}'!='0'") +@ConditionalOnExpression("${rsocket.port:0}!=0") public class RSocketListenerAutoConfiguration { @Bean(initMethod = "start", destroyMethod = "stop")