Enhance the pluggability of the bridging and messaging code, so that more complex HA and out of process bridges can be written. (#2558)

This commit is contained in:
Matthew Nesbit
2018-02-16 16:13:05 +00:00
committed by GitHub
parent cb7a0229a8
commit fee89c044f
6 changed files with 57 additions and 25 deletions

View File

@ -210,7 +210,7 @@ open class Node(configuration: NodeConfiguration,
}
override fun myAddresses(): List<NetworkHostAndPort> {
return listOf(configuration.messagingServerAddress ?: getAdvertisedAddress())
return listOf(getAdvertisedAddress())
}
private fun getAdvertisedAddress(): NetworkHostAndPort {