fix(网络组件): 设置支持路由设置类型的网络组件可以被复用 (#273)
This commit is contained in:
parent
7eb601b849
commit
d51aa6ac1f
|
|
@ -140,4 +140,9 @@ public class DefaultHttpServerProvider implements NetworkProvider<HttpServerConf
|
|||
}
|
||||
return Mono.just(options);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isReusable() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -146,4 +146,9 @@ public class MqttClientProvider implements NetworkProvider<MqttClientProperties>
|
|||
}
|
||||
return Mono.just(options);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isReusable() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue