Cohesive Systems logoCOHESIVE SYSTEMS

Search Cohesive Systems

Ready

Search Cohesive Systems

Find product pages, building blocks, technical articles, and graph definitions.

Correlation and Conversations

Correlation and conversations describe how independently occurring messages, requests, replies, observations, attempts, and process steps are recognized as participating in one interaction or longer-lived protocol.

Correlation groups material under a declared identity. It does not by itself prove causation, ordering, semantic dependence, or process membership. A causation link makes the stronger claim that one occurrence contributed to producing another. A process identity gives semantic unity to work that may contain several conversations and causal chains.

Identity Structure

Important identities include:

  • Message or emission identity.
  • Request identity and the reply that discharges it.
  • Conversation or session identity spanning related exchanges.
  • Process, subject, entity, and observer identities.
  • Attempt, activation, delivery, and retry identities.
  • Sequence identity and position for fragmented or ordered material.

These identities should not be collapsed into one correlation identifier. One request may be delivered several times, one process may contain several requests, and one message may contribute to more than one derived observation.

Request and Reply

An asynchronous request declares a typed terminal-response or terminal-failure obligation. Its protocol should identify how the result is correlated, where it is returned or observed, how long the obligation remains live, which reply wins under duplication or races, and what happens when the result is late, lost, ambiguous, or rejected.

A return address is an operational reply path, not the requestor's semantic identity. A smart proxy may preserve the original return and correlation context while routing through another interaction, but it becomes responsible for the correctness, durability, privacy, and failure handling of that correspondence.

Long-lived conversations often require a process or process manager when identity, pending obligations, timeouts, results, and completion must survive individual calls or traces.

External References

Related concepts: enterprise integration patterns, interaction, messages and envelopes, identity, causality, process, process graphs, process managers, effect, event, ordering, time, retry, recovery, observability and provenance.