Morgan Stanley Logo

  • home
  • documentation

Message Broker

The Message Broker is a Typescript library which aims to provide asynchronous communication between typescript components. It leverages the RxJS library to facilitate a pub/sub pattern and accepts user-defined contracts to ensure type safety across messages.

Homepage

    Development

    • Prerequisites
    • Quick Start
    • Dependency Injection

    Documentation

      Development

      • Quick Start
      • Dependency Injection

      Message Options

      • Publishing with options
      • Typing metadata

      Message Replaying

      • Channel disposal

      RSVP

      • Publish
      • Respond
      • Respond with manual disconnect

      Message Replaying

      • Channel disposal

      Adapters

      • Overview
      • Creating an Adapter
      • Registering Adapters
      • Automatic Message Distribution
      • Receiving External Messages
      • Error Handling
      • Managing Adapters
      • Best Practices

      Response Broker

      • Register a responder
      • Respond with manual disconnect
      • Passing message options to responders

      Adapters

      • Overview
      • Creating an Adapter
      • Registering Adapters
      • Automatic Message Distribution
      • Receiving External Messages
      • Error Handling
      • Managing Adapters
      • Best Practices

      Getting Started

        • Github
        • Morgan Stanley

        ©2026 Morgan Stanley. All rights reserved.