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