I'm interested in adding some custom sensing in my app. Using the VanillaJavaApp Entity, let's say I would like my application whose main class is set in the blueprint to send back a dynamic "records processed count" and have it appear in amongst the other sensors on Brooklyn's web UI.
My Java app is not a webserver, just a long-running process. Is the correct approach to create an MBean as part of my app and connect it back to Brooklyn's server? I'm not sure how to put all the pieces together... or if there's a better way. Can it be done without extending Brooklyn itself? Peter