You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously on Mirth 3.4.2, I was able to get the state of a connector listener using this code:
var defController = Packages.com.mirth.connect.server.controllers.DefaultExtensionController.create();
var monitor = defController.getServicePlugins().get(com.mirth.connect.plugins.dashboardstatus.DashboardConnectorStatusServletInterface.PLUGIN_POINT);
connectorListener = monitor.getConnectorListener();
var states = connectorListener.getConnectorStateMap();
thisState = states.get(myChannelId + '_0')[1];
Previously on Mirth 3.4.2, I was able to get the state of a connector listener using this code:
var defController = Packages.com.mirth.connect.server.controllers.DefaultExtensionController.create();
var monitor = defController.getServicePlugins().get(com.mirth.connect.plugins.dashboardstatus.DashboardConnectorStatusServletInterface.PLUGIN_POINT);
connectorListener = monitor.getConnectorListener();
var states = connectorListener.getConnectorStateMap();
thisState = states.get(myChannelId + '_0')[1];
Using Mirth 4.4.2 I'm getting this error:
Can't find method com.mirth.connect.plugins.dashboardstatus.DashboardConnectorEventListener.getConnectorStateMap().
Was this removed or is there another function call to get the state?
I'm Using openJDK v15
The text was updated successfully, but these errors were encountered: