public class AvailDataListener extends org.hawkular.bus.common.consumer.BasicMessageListener<AvailDataMessage>
An adapter that processes Hawkular Availability data, extracts relevant avail datums, translates them to Alerting Data format, and forwards them for Alert processing.
This is useful only when deploying into the Hawkular Bus with Hawkular Metrics. The expected message payload should be JSON representation ofAvailDataMessage.| Constructor and Description |
|---|
AvailDataListener() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
protected void |
onBasicMessage(AvailDataMessage msg) |
protected void onBasicMessage(AvailDataMessage msg)
onBasicMessage in class org.hawkular.bus.common.consumer.BasicMessageListener<AvailDataMessage>public static void main(String[] args)
Copyright © 2015 Red Hat, Inc.. All rights reserved.