Do not validate that remote group ports can start transmitting if there is no connection
This closes
@@ -1298,8 +1298,10 @@ public class StandardRemoteProcessGroup implements RemoteProcessGroup {
throw new IllegalStateException(this.getIdentifier() + " has a Connection to Port " + port.getIdentifier() + ", but that Port no longer exists on the remote system");
}
+ if (port.hasIncomingConnection()) {
port.verifyCanStart();
}
+ }
for (final StandardRemoteGroupPort port : outputPorts.values()) {
if (port.isRunning()) {
@@ -1310,8 +1312,10 @@ public class StandardRemoteProcessGroup implements RemoteProcessGroup {
throw new IllegalStateException(this.getIdentifier() + " has a Connection to Port " + port.getIdentifier() + ", but that Port no longer exists on the remote system");
}
+ if (!port.getConnections().isEmpty()) {
port.verifyCanStart();
}
+ }
} finally {
readLock.unlock();
}
