|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AMQPMessageConverter
Interface describing a mechanism that converts AMQP Messages from an Axon Messages and vice versa.
Method Summary | |
---|---|
AMQPMessage |
createAMQPMessage(EventMessage eventMessage)
Creates an AMQPMessage from given eventMessage . |
EventMessage |
readAMQPMessage(byte[] messageBody,
Map<String,Object> headers)
Reconstruct an EventMessage from the given messageBody and headers . |
Method Detail |
---|
AMQPMessage createAMQPMessage(EventMessage eventMessage)
eventMessage
.
eventMessage
- The EventMessage to create the AMQP Message from
EventMessage readAMQPMessage(byte[] messageBody, Map<String,Object> headers)
messageBody
and headers
.
messageBody
- The body of the AMQP Messageheaders
- The headers attached to the AMQP Message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |