From d2a6395d4858da07e9093a0f9a62e543e37c4b3f Mon Sep 17 00:00:00 2001 From: benni Date: Sun, 28 Oct 2012 09:19:55 +0100 Subject: [PATCH] added sampe code in documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b8104b..28f0bd4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ mark and configure your message handlers with @Listener annotations and finally sending messages to your listeners using one of Mbassador's publication methods (sync or async). Done! ---------------------------------------- +

Usage

Listener definition (in any bean): @@ -70,7 +70,7 @@ Message puclication: bus.publishAsync(event); //returns immediately, publication will continue asynchronously bus.publish(subEvent); // will return after each handler has been invoked ---------------------------------------- +

Planned features

+ Maven dependency: Add Mbassador to your project using maven. Coming soon!