Adds an example of nested extraConfig options (#3995)

* Update generating-a-node.rst

* Update generating-a-node.rst

* Update generating-a-node.rst
This commit is contained in:
Joel Dudley 2018-09-27 13:24:24 +01:00 committed by GitHub
parent 8d5f5341e1
commit 2286a59a49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,9 +47,11 @@ in the `Kotlin CorDapp Template <https://github.com/corda/cordapp-template-kotli
sshdPort 2223
// Includes the corda-finance CorDapp on our node.
cordapps = ["net.corda:corda-finance:$corda_release_version"]
// Specify a JVM argument to be used when running the node (in this case, extra heap size).
extraConfig = [
jvmArgs : [ "-Xmx1g"]
// Setting the JMX reporter type.
jmxReporterType: 'JOLOKIA',
// Setting the H2 address.
h2Settings: [ address: 'localhost:10030' ]
]
}
node {