collection Commons
Private · saved on this device

Messaging and Integration

Connect independently evolving components through explicit message contracts, delivery paths, and processing responsibilities.

These patterns examine how components exchange messages, route information, and coordinate responsibilities across integration boundaries.

Publish-Subscribe distributes a publication to independently interested subscriptions while keeping shared workers distinct from independent consumers. Delivery, retention, ordering, and failure semantics remain explicit choices.

Request-Reply pairs a question with its correlated answer, making reply destinations, pending context, and local deadlines explicit.

Correlation Identifier preserves the association between related messages so receivers recover the right context across reply reordering and envelope changes.

Content-Based Router selects a logical destination from message data, with explicit precedence and separate handling for malformed and unmatched messages.

Message Translator converts between declared message contracts, preserving justified meaning while exposing unsupported codes, units, and precision.

Anti-Corruption Layer protects a local model by expressing an external capability through local concepts and failures, rather than importing the external model into business code.

Splitter decomposes a composite message into separately identified work items, preserving parent context while making validation, ordering, and delivery boundaries explicit.

Aggregator holds related results until a declared completion condition permits one combined outcome, with distinct-member accounting and explicit timeout and late-message policies.

Idempotent Receiver protects a receiving endpoint from repeated effects by preserving logical message identity and coordinating duplicate recognition with the business transaction and acknowledgment.

Dead Letter Channel retains messages that leave normal delivery or processing policy, preserving evidence and accountable recovery without hiding incomplete business outcomes.

Competing Consumers lets interchangeable workers divide one logical work stream, keeping delivery ownership, acknowledgment, and redelivery separate from business effects.

Compare the message's business meaning with Domain Modeling and Business Logic, and broader system boundaries with Application Architecture.

Curated selection

In this Collection

11 entries · Author-defined order
  1. Data EngineeringSoftware Engineering

    pattern · commons

    Publish-Subscribe

    Publish a message to a topic so independently interested subscribers can receive it without the publisher naming or calling each recipient.

  2. Software Engineering

    pattern · commons

    Request-Reply

    Pair a request message with a correlated reply so a caller can obtain an outcome without assuming that sending and receiving happen in one call stack.

  3. Software Engineering

    pattern · commons

    Correlation Identifier

    Carry an explicit identifier across related messages so a receiver can recover the correct conversation context regardless of arrival order or individual message identity.

  4. Software Engineering

    pattern · commons

    Content-Based Router

    Inspect a message's data and select the appropriate output channel, keeping destination-selection rules out of the producer and downstream handlers.

  5. Software Engineering

    pattern · commons

    Message Translator

    Convert a message into the representation another application expects while making field mappings, units, meaning, and unsupported cases explicit at the integration boundary.

  6. Software Engineering

    pattern · commons

    Anti-Corruption Layer

    Protect a local domain model by translating an external system's concepts, operations, and failures through an interface expressed in the local model's own terms.

  7. Software Engineering

    pattern · commons

    Splitter

    Break a composite message into separately addressable messages so each meaningful part can be processed independently.

  8. Software Engineering

    pattern · commons

    Aggregator

    Hold related messages as a group, decide when the group is ready, and combine its contents into one meaningful result.

  9. Software Engineering

    pattern · commons

    Idempotent Receiver

    Make repeated deliveries of the same logical message leave the receiver's protected business state as if that message had been handled once.

  10. Software EngineeringData Engineering

    pattern · commons

    Dead Letter Channel

    Move messages that leave the normal delivery or processing policy to a separate recovery channel, preserving evidence and ownership until their outcome is resolved.

  11. Software Engineering

    pattern · commons

    Competing Consumers

    Let interchangeable workers share one logical work channel so each delivery goes to one worker, increasing concurrent processing while keeping redelivery and completion explicit.