From d31f27571bf9b11673aaa12c20e54d309973b756 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Wed, 20 Dec 2017 12:59:01 +0000 Subject: [PATCH] Switch from KRYO serialization to AMQP (#229) --- .../main/kotlin/com/r3/corda/networkmanage/doorman/Main.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/Main.kt b/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/Main.kt index ce34342627..1779dfcbab 100644 --- a/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/Main.kt +++ b/network-management/src/main/kotlin/com/r3/corda/networkmanage/doorman/Main.kt @@ -23,7 +23,7 @@ import net.corda.core.utilities.loggerFor import net.corda.nodeapi.internal.crypto.* import net.corda.nodeapi.internal.network.NetworkParameters import net.corda.nodeapi.internal.persistence.CordaPersistence -import net.corda.nodeapi.internal.serialization.KRYO_P2P_CONTEXT +import net.corda.nodeapi.internal.serialization.AMQP_P2P_CONTEXT import net.corda.nodeapi.internal.serialization.SerializationFactoryImpl import net.corda.nodeapi.internal.serialization.amqp.AMQPClientSerializationScheme import org.bouncycastle.pkcs.PKCS10CertificationRequest @@ -301,7 +301,7 @@ fun main(args: Array) { } private fun initialiseSerialization() { - val context = KRYO_P2P_CONTEXT + val context = AMQP_P2P_CONTEXT nodeSerializationEnv = SerializationEnvironmentImpl( SerializationFactoryImpl().apply { registerScheme(AMQPClientSerializationScheme())