Skip to content

Routing Contracts

Routing contracts define how messages can be redirected, replicated or forwarded.

These abstractions are especially useful when routing logic should remain external to business code.


IRoutingBridgeBound

Routing bridges receive a message and forward it according to configured routing rules.

graph LR

    Source --> RoutingBridge

    RoutingBridge --> DestinationA

    RoutingBridge --> DestinationB

Responsibilities

  • receive messages;
  • evaluate routing rules;
  • republish messages;
  • support message replication.

Typical Scenarios

Message Replication

graph LR

    Orders --> ERP

    Orders --> CRM

    Orders --> Analytics

Environment Routing

graph LR

    Exchange --> Dev

    Exchange --> QA

    Exchange --> Production

Integration Platforms

graph LR

    SourceSystem --> RoutingBridge

    RoutingBridge --> TargetA

    RoutingBridge --> TargetB

    RoutingBridge --> TargetC

Routing bridges provide a centralized mechanism for controlling message flow across systems.