Skip to main content

4 docs tagged with "Messaging"

View all tags

Message Consumer

The IMessageConsumer port defines how DugongJS receives domain events as messages from external systems via a message broker. It is part of the asynchronous integration mechanism that supports event-driven microservice communication.

Message Mappers

DugongJS defines two message mapper ports that must be implemented when producing and consuming messages containing domain events:

Message Producer

The IMessageProducer port defines how domain events are published from DugongJS as messages to external systems through a message broker.

Messages

In DugongJS, a message refers to a domain event in transit, in the context of a message broker. When a domain event is published as a message, it is mapped into the transport format required by the message broker. This process involves mapping the domain event for transmission and then mapping it back when it is received.