Allow setting of out of process ArtmeisMQ broker on Node via config file

This commit is contained in:
Matthew Nesbit 2016-08-05 15:58:02 +01:00
parent d76d271830
commit d3309c1171

View File

@ -67,6 +67,7 @@ class FullNodeConfiguration(conf: Config) : NodeConfiguration {
override val trustStorePassword: String by conf
val artemisAddress: HostAndPort by conf
val webAddress: HostAndPort by conf
val messagingServerAddress: HostAndPort? = if (conf.hasPath("messagingServerAddress")) HostAndPort.fromString(conf.getString("messagingServerAddress")) else null
val hostNotaryServiceLocally: Boolean by conf
val extraAdvertisedServiceIds: String by conf
val mapService: NameServiceConfig = NameServiceConfig(conf.getConfig("mapService"))
@ -91,7 +92,8 @@ class FullNodeConfiguration(conf: Config) : NodeConfiguration {
this,
networkMapAddress,
advertisedServices,
clock
clock,
messagingServerAddress
)
}
}