I have .war
file, generated from sample corp-000.properties deployed in Tomcat 8. Now I want to have a page with buttons to control this engine (namely, manually enable and disable synchronization, while keeping the engine and heartbeats running).
To do so I would like a way to extract a variable of a type StandaloneSymmetricEngine
from this .war
from another servlet
. Is there any conceivable way to do so, or do I have something conceptually wrong in mind, and in that case, how should I resolve my issue.
Thanks
Access the JMX bean exposed for every SymmetricDS engine configured and it will allow full control.