文案优化
This commit is contained in:
parent
d02c99dfb2
commit
295fb256c7
|
@ -1183,6 +1183,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
|
||||||
- 19、提供多版本执行器:不依赖容器版本、不内嵌Jetty版本(通过配置executoraddress替换jetty通讯)等;
|
- 19、提供多版本执行器:不依赖容器版本、不内嵌Jetty版本(通过配置executoraddress替换jetty通讯)等;
|
||||||
- 20、注册中心支持扩展,除默认基于DB之外,支持扩展接入第三方注册中心如zk、eureka等;
|
- 20、注册中心支持扩展,除默认基于DB之外,支持扩展接入第三方注册中心如zk、eureka等;
|
||||||
- 21、依赖Core内部国际化处理;
|
- 21、依赖Core内部国际化处理;
|
||||||
|
- 22、大数据量下任务日志分页优化,时间选择组件支持清空功能可提升速度;
|
||||||
|
|
||||||
|
|
||||||
## 七、其他
|
## 七、其他
|
||||||
|
|
|
@ -58,8 +58,7 @@ public class NetComClientProxy implements FactoryBean<Object> {
|
||||||
|
|
||||||
// valid response
|
// valid response
|
||||||
if (response == null) {
|
if (response == null) {
|
||||||
logger.error(">>>>>>>>>>> xxl-rpc netty response not found.");
|
throw new Exception("Network request fail, response not found.");
|
||||||
throw new Exception(">>>>>>>>>>> xxl-rpc netty response not found.");
|
|
||||||
}
|
}
|
||||||
if (response.isError()) {
|
if (response.isError()) {
|
||||||
throw new RuntimeException(response.getError());
|
throw new RuntimeException(response.getError());
|
||||||
|
|
|
@ -29,7 +29,7 @@ public class JettyClient {
|
||||||
byte[] responseBytes = HttpClientUtil.postRequest(reqURL, requestBytes);
|
byte[] responseBytes = HttpClientUtil.postRequest(reqURL, requestBytes);
|
||||||
if (responseBytes == null || responseBytes.length==0) {
|
if (responseBytes == null || responseBytes.length==0) {
|
||||||
RpcResponse rpcResponse = new RpcResponse();
|
RpcResponse rpcResponse = new RpcResponse();
|
||||||
rpcResponse.setError("RpcResponse byte[] is null");
|
rpcResponse.setError("Network request fail, RpcResponse byte[] is null");
|
||||||
return rpcResponse;
|
return rpcResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ public class JettyClient {
|
||||||
logger.error(e.getMessage(), e);
|
logger.error(e.getMessage(), e);
|
||||||
|
|
||||||
RpcResponse rpcResponse = new RpcResponse();
|
RpcResponse rpcResponse = new RpcResponse();
|
||||||
rpcResponse.setError("Client-error:" + e.getMessage());
|
rpcResponse.setError("Network request error: " + e.getMessage());
|
||||||
return rpcResponse;
|
return rpcResponse;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,6 @@ public class HttpClientUtil {
|
||||||
EntityUtils.consume(entity);
|
EntityUtils.consume(entity);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error(e.getMessage(), e);
|
|
||||||
throw e;
|
throw e;
|
||||||
} finally {
|
} finally {
|
||||||
httpPost.releaseConnection();
|
httpPost.releaseConnection();
|
||||||
|
|
Loading…
Reference in New Issue