public interface EventMessageConverter
Modifier and Type | Method and Description |
---|---|
<T> EventMessage<T> |
convertFromInboundMessage(org.springframework.messaging.Message<T> message)
Converts a Spring inbound
message into an Axon event Message |
<T> org.springframework.messaging.Message<T> |
convertToOutboundMessage(EventMessage<T> event)
Converts Axon
event into Spring message. |
<T> org.springframework.messaging.Message<T> convertToOutboundMessage(EventMessage<T> event)
event
into Spring message.T
- The event payload typeevent
- The Axon event to convert<T> EventMessage<T> convertFromInboundMessage(org.springframework.messaging.Message<T> message)
message
into an Axon event MessageT
- The message payload typemessage
- The Spring message to convertCopyright © 2010–2024. All rights reserved.