This content has been marked as final.
Show 3 replies
-
1. Re: Question on how to monitor client bus health
jfuerth Jun 14, 2013 10:52 AM (in response to jdestef)1 of 1 people found this helpfulHi John,
Yes, you can monitor the state of the client message bus by registering a BusLifecycleListener on the client. Here's an example of a GWT widget that turns different colours depending on the bus connection status (feel free to copy it as a starting point):
And here's how it gets registered with the bus:
Hope that helps!
Jonathan
-
2. Re: Question on how to monitor client bus health
edewit Jun 14, 2013 10:58 AM (in response to jdestef)1 of 1 people found this helpfulHi John,
We have a nice undocumented fature called shadow services. You can implement the service interface and annotate it with @ShadowService the bus will route messages automaticly based on the status, so when offline they will go to the shadow implementation.
Cheers,
Erik Jan
-
3. Re: Question on how to monitor client bus health
jdestef Jun 14, 2013 10:37 PM (in response to jdestef)Thanks for the quick response guys, both great suggestions.