added sampe code in documentation

This commit is contained in:
benni 2012-10-28 09:19:55 +01:00
parent 4ce801c086
commit d2a6395d48

View File

@ -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! sending messages to your listeners using one of Mbassador's publication methods (sync or async). Done!
---------------------------------------
<h2>Usage</h2> <h2>Usage</h2>
Listener definition (in any bean): Listener definition (in any bean):
@ -70,7 +70,7 @@ Message puclication:
bus.publishAsync(event); //returns immediately, publication will continue asynchronously bus.publishAsync(event); //returns immediately, publication will continue asynchronously
bus.publish(subEvent); // will return after each handler has been invoked bus.publish(subEvent); // will return after each handler has been invoked
---------------------------------------
<h2>Planned features</h2> <h2>Planned features</h2>
+ Maven dependency: Add Mbassador to your project using maven. Coming soon! + Maven dependency: Add Mbassador to your project using maven. Coming soon!