[Hawkular-dev] embedding hawkular-metrics
Heiko Braun
hbraun at redhat.com
Wed Jan 21 15:04:26 EST 2015
Some additional information regarding the wildfly integration and the rest interface in particular:
Any subsystem in wildfly can register an undertow HTTP handler or an undertow HTTP upgrade handler. The HTTP handler exposes the regular undertow API for building HTTP based endpoints [1]. This one should be straight forward to use for implementing the REST interface you currently have in rhq-metrics.
The upgrade handler on the other hand does HTTP upgrade to a custom protocol of your choice (if needed in the future). It can as well be used to provide web socket based access to your services.
Taking into consideration that undertow can also be easily embedded [2] I think this covers a lot of ground.
Regards, Heiko
[1] http://undertow.io/documentation/core/undertow-handler-guide.html <http://undertow.io/documentation/core/undertow-handler-guide.html>
[2] http://undertow.io/documentation/core/bootstrapping.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20150121/0205d0cb/attachment-0001.html
More information about the hawkular-dev
mailing list