public class TriggerMetricCollectionConsumer extends AbstractJMSMessageListener<TriggerMetricCollectionEvent>
| Constructor and Description |
|---|
TriggerMetricCollectionConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(TriggerMetricCollectionEvent message)
Fires the
TriggerMetricCollectionEvent event and checks if its listeners reports that all batches were loaded by MetricsCollector. |
onMessagepublic void onMessage(TriggerMetricCollectionEvent message)
TriggerMetricCollectionEvent event and checks if its listeners reports that all batches were loaded by MetricsCollector.
If all batches were loaded, the metric collection process ends.
If not all batches were loaded, the transaction is rolled back so that this method will be re-triggered based on TriggerMetricCollectionQueue address settings.onMessage in class AbstractJMSMessageListener<TriggerMetricCollectionEvent>Copyright © 2016 JBoss by Red Hat. All Rights Reserved.