Le 07/07/2014 16:46, Jeff Mesnil a écrit :
Part 7: Integration with Remote Management API
———————————————————————
We will enhance the remote management native API to register/unregister a notification
handler from the ModelControllerClient
void registerNotificationHandler(ModelNode resourceAddress,
NotificationClientHandler handler, NotificationClientFilter filter);
The client contract will have to taken into account reconnection when server is reloaded
(possibly by caching the handler & filter and register them again after reconnection
to the server...)
The Management HTTP API will also be enhance to support notifications with its REST API.
A neat addition will be to provide a browser-specific way to push notifications to the
browser (e.g. using Server-Sent Events or Web Sockets).
=> the Web Console is the recipient for this feature and will have their say in how
they prefer to consume notifications
Hi Jeff,
Just to let you know, in the RHQ team we're also interested in this
part, as our Wildfly monitoring is based on the HTTP management
interface. I hope we'll be able to find a solution which works nicely
with Javascript as well as Java clients.
Regards,
Thomas