1.0.0
·
3 commits
to main
since this release
Version 1.0.0 of the Message Bus Library provides the following features and capabilities:
- Message Bus Interface: A simple and easy-to-use interface for the message bus, allowing you to invoke messages and register handlers.
- Message Handling: The ability to handle messages without requiring them to implement a specific interface. You can use any Java class as a message.
- Annotation-based Handler Registration: Automatic registration of handlers using the @MessageHandler annotation. You only need to annotate the handler class with this annotation and provide an invoke method that takes the message class as a parameter.
- Error Handling: Throwing exceptions when invoking a message without a registered handler or when any other issues arise during the handler registration process.
- Integration with Spring Boot: Instructions for integrating the Message Bus Library into Spring Boot applications, including the use of dependency injection and a configuration class.
- Example Usage: Detailed examples in the README file demonstrate how to create message and handler classes, initialize the message bus, and invoke messages in a typical application.
- Maven Package: The library is available as a Maven package, making it easy to include in any Java project.
This version lays the foundation for a simple and lightweight Java message bus library that can be easily integrated into any Java project. It aims to facilitate communication between application components using messages and handlers while maintaining a clean and modular architecture.