Skip to content
A. Shafie edited this page Sep 27, 2023 · 12 revisions

What is LiteBus?

LiteBus is a lightweight messaging library that aims to simplify the process of handling messages, events, and commands within your application. With a clean and intuitive API, LiteBus allows developers to focus on application logic rather than infrastructure concerns.

Features

  • Simple API: A straightforward API with a low learning curve.
  • Flexibility: Supports different types of messages, including commands, events, and queries.
  • Dependency Injection: Designed to work well with dependency injection frameworks.
  • Middleware Support: Incorporates an optional middleware pipeline, allowing for pre-processing and post-processing of messages.
  • Inheritance Support: Dynamically handles messages based on inheritance and type.
  • Extensibility: LiteBus is designed to be extensible, allowing you to extend or modify its functionality as required easily.

Why use LiteBus?

LiteBus provides a clear separation of concerns, promoting the Single Responsibility Principle. It abstracts away the boilerplate code associated with dispatching and handling messages, thus allowing developers to maintain cleaner, more maintainable, and more testable code. Additionally, it is lightweight and can be integrated seamlessly into existing projects without a steep learning curve.

Clone this wiki locally