diff --git a/README.md b/README.md index 3e4cb84..44d67d0 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ Mbassador is a very light-weight message bus implementation following the publis for ease of use and aims to be resource efficient and very fast. It was inspired by google guava's event bus which lacked some features like weak references at that time. At its core it offers the following: -+ Annotation driven:
To define and customize a message handler simply mark it with @Listener annotation ++ Annotation driven: To define and customize a message handler simply mark it with @Listener annotation + Delivers everything: Messages must not implement any interface and can be of any type (-> message bus is typed using generics with upper -bound being Object.class).Class hierarchy of messages are considered during message delivery. This means that listeners will also receive +bound being Object.class). The class hierarchy of a message is considered during message delivery. This means that listeners will also receive subtypes of the message type they are listening for, e.g. a listener for Object.class receives everything. + Synchronous and asynchronous message delivery: A handler can be invoked to handle a message either synchronously or asynchronously. This is configurable for each handler via annotations. Message publication itself supports synchronous (method