serializationContext.setDeserializerClass(deserializerClass);
serializationContext.setSerializerClass(serializerClass);
// Setup endpoint features
ClassAliasRegistry registry = ClassAliasRegistry.getRegistry();
registry.registerAlias(AsyncMessageExt.CLASS_ALIAS, AsyncMessageExt.class.getName());
registry.registerAlias(AcknowledgeMessageExt.CLASS_ALIAS, AcknowledgeMessageExt.class.getName());
registry.registerAlias(CommandMessageExt.CLASS_ALIAS, CommandMessageExt.class.getName());
super.start();
}