mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
Allow setting of out of process ArtmeisMQ broker on Node via config file
This commit is contained in:
@ -67,6 +67,7 @@ class FullNodeConfiguration(conf: Config) : NodeConfiguration {
|
|||||||
override val trustStorePassword: String by conf
|
override val trustStorePassword: String by conf
|
||||||
val artemisAddress: HostAndPort by conf
|
val artemisAddress: HostAndPort by conf
|
||||||
val webAddress: 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 hostNotaryServiceLocally: Boolean by conf
|
||||||
val extraAdvertisedServiceIds: String by conf
|
val extraAdvertisedServiceIds: String by conf
|
||||||
val mapService: NameServiceConfig = NameServiceConfig(conf.getConfig("mapService"))
|
val mapService: NameServiceConfig = NameServiceConfig(conf.getConfig("mapService"))
|
||||||
@ -91,7 +92,8 @@ class FullNodeConfiguration(conf: Config) : NodeConfiguration {
|
|||||||
this,
|
this,
|
||||||
networkMapAddress,
|
networkMapAddress,
|
||||||
advertisedServices,
|
advertisedServices,
|
||||||
clock
|
clock,
|
||||||
|
messagingServerAddress
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user