public class CommandSerializer extends Object
Constructor and Description |
---|
CommandSerializer(Serializer serializer,
AxonServerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
CommandMessage<?> |
deserialize(Command request) |
<R> GenericCommandResultMessage<R> |
deserialize(CommandResponse response) |
Command |
serialize(CommandMessage<?> commandMessage,
String routingKey,
int priority) |
CommandProviderOutbound |
serialize(CommandResultMessage<?> commandResultMessage,
String requestIdentifier) |
public CommandSerializer(Serializer serializer, AxonServerConfiguration configuration)
public Command serialize(CommandMessage<?> commandMessage, String routingKey, int priority)
public CommandMessage<?> deserialize(Command request)
public <R> GenericCommandResultMessage<R> deserialize(CommandResponse response)
public CommandProviderOutbound serialize(CommandResultMessage<?> commandResultMessage, String requestIdentifier)
Copyright © 2010–2018. All rights reserved.