SGF-378 - SDG completely ignores the 'socket-read-timeout' attribute on the Gateway element nested in a GatewayHub.
This commit is contained in:
@@ -115,7 +115,7 @@ public class GatewayHubFactoryBean extends AbstractWANComponentFactoryBean<Gatew
|
||||
|
||||
gateway.setOrderPolicy(gatewayProxy.getOrderPolicy());
|
||||
gateway.setSocketBufferSize(gatewayProxy.getSocketBufferSize());
|
||||
//gateway.setSocketReadTimeout(gatewayProxy.getSocketReadTimeout());
|
||||
gateway.setSocketReadTimeout(gatewayProxy.getSocketReadTimeout());
|
||||
|
||||
if (gatewayProxy.getQueue() != null) {
|
||||
GatewayQueue queue = gatewayProxy.getQueue();
|
||||
|
||||
@@ -38,7 +38,7 @@ public class GatewayProxy {
|
||||
|
||||
private Integer concurrencyLevel = Gateway.DEFAULT_CONCURRENCY_LEVEL;
|
||||
private Integer socketBufferSize = Gateway.DEFAULT_SOCKET_BUFFER_SIZE;
|
||||
//private Integer socketReadTimeout = Gateway.DEFAULT_SOCKET_READ_TIMEOUT;
|
||||
private Integer socketReadTimeout = Gateway.DEFAULT_SOCKET_READ_TIMEOUT;
|
||||
|
||||
private List<GatewayEndpoint> endpoints;
|
||||
private List<GatewayEventListener> listeners;
|
||||
@@ -101,7 +101,6 @@ public class GatewayProxy {
|
||||
return (socketBufferSize != null ? socketBufferSize : Gateway.DEFAULT_SOCKET_BUFFER_SIZE);
|
||||
}
|
||||
|
||||
/*
|
||||
public void setSocketReadTimeout(final Integer socketReadTimeout) {
|
||||
this.socketReadTimeout = socketReadTimeout;
|
||||
}
|
||||
@@ -109,7 +108,6 @@ public class GatewayProxy {
|
||||
public Integer getSocketReadTimeout() {
|
||||
return (socketReadTimeout != null ? socketReadTimeout : Gateway.DEFAULT_SOCKET_READ_TIMEOUT);
|
||||
}
|
||||
*/
|
||||
|
||||
public static class GatewayEndpoint {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user