Retrieves a summary of the messaging history for the specified domains and packages.
MessagingHistorySummaryVO SUPMonitor.getMessagingHistorySummaries(MonitoredObject monitoredObjects, startTime, endTime, offset, length, SortedField sortedField)
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
MonitoredCluster mc = new MonitoredCluster();
MonitoredDomain md_def = new MonitoredDomain("default");
MonitoredDomain md_tst = new MonitoredDomain("test");
md_def.addMonitoredPackage(new MonitoredPackage("test_mbs:1.0"));
md_def.addMonitoredPackage(new MonitoredPackage("test_mbs:2.0"));
md_tst.addMonitoredPackage(new MonitoredPackage("test_mbs:3.0"));
md_tst.addMonitoredPackage(new MonitoredPackage("test_mbs:4.0"));
mc.addMonitoredDomain(md_def);
mc.addMonitoredDomain(md_tst);
Collection<MonitoredObject> mos = Arrays
.asList(new MonitoredObject[] { mc });
System.out.println(supMonitor.getMessagingHistorySummaries(mos, null, null, null, null, null));