List of usage examples for org.springframework.integration.codec.kryo PojoCodec PojoCodec
public PojoCodec(List<KryoRegistrar> kryoRegistrars)
From source file:org.springframework.xd.dirt.integration.bus.MessageBusSupportBenchmarkTests.java
@BeforeClass @SuppressWarnings({ "unchecked", "rawtypes" }) public static void initMessageBus() { TestMessageBus messageBus = new TestMessageBus(); messageBus.setCodec(new PojoCodec(new TupleKryoRegistrar())); messageBusSupport = messageBus;/*from w w w. j a va2 s .c o m*/ }