public class SpringHttpDispatchMessage<C> extends org.axonframework.commandhandling.distributed.DispatchMessage implements Serializable
| Constructor and Description |
|---|
SpringHttpDispatchMessage(org.axonframework.commandhandling.CommandMessage<?> commandMessage,
org.axonframework.serialization.Serializer serializer,
boolean expectReply)
Initialize a SpringHttpDispatchMessage for the given
commandMessage, to be serialized using given
serializer. |
| Modifier and Type | Method and Description |
|---|---|
org.axonframework.commandhandling.CommandMessage<C> |
getCommandMessage(org.axonframework.serialization.Serializer serializer) |
public SpringHttpDispatchMessage(org.axonframework.commandhandling.CommandMessage<?> commandMessage,
org.axonframework.serialization.Serializer serializer,
boolean expectReply)
commandMessage, to be serialized using given
serializer. expectReply indicates whether the sender will be expecting a reply.commandMessage - The message to send to the remote segmentserializer - The serialize to serialize the message payload and metadata withexpectReply - whether or not the sender is waiting for a reply.public org.axonframework.commandhandling.CommandMessage<C> getCommandMessage(org.axonframework.serialization.Serializer serializer)
getCommandMessage in class org.axonframework.commandhandling.distributed.DispatchMessageCopyright © 2010–2023. All rights reserved.