SGF-371 - The GatewayReceiverFactoryBean needs to set GatewayReceiverFactory.setManualStart(false) in GemFire 8.1 in order to enable manual starts on a GatewayReceiver.
This commit is contained in:
@@ -96,6 +96,10 @@ public class GatewayReceiverFactoryBean extends AbstractWANComponentFactoryBean<
|
||||
gatewayReceiverFactory.setHostnameForSenders(hostnameForSenders);
|
||||
}
|
||||
|
||||
if (maximumTimeBetweenPings != null) {
|
||||
gatewayReceiverFactory.setMaximumTimeBetweenPings(maximumTimeBetweenPings);
|
||||
}
|
||||
|
||||
int localStartPort = (startPort != null ? startPort : GatewayReceiver.DEFAULT_START_PORT);
|
||||
int localEndPort = (endPort != null ? endPort : GatewayReceiver.DEFAULT_END_PORT);
|
||||
|
||||
@@ -104,10 +108,7 @@ public class GatewayReceiverFactoryBean extends AbstractWANComponentFactoryBean<
|
||||
|
||||
gatewayReceiverFactory.setStartPort(localStartPort);
|
||||
gatewayReceiverFactory.setEndPort(localEndPort);
|
||||
|
||||
if (maximumTimeBetweenPings != null) {
|
||||
gatewayReceiverFactory.setMaximumTimeBetweenPings(maximumTimeBetweenPings);
|
||||
}
|
||||
gatewayReceiverFactory.setManualStart(true);
|
||||
|
||||
if (socketBufferSize != null) {
|
||||
gatewayReceiverFactory.setSocketBufferSize(socketBufferSize);
|
||||
|
||||
Reference in New Issue
Block a user