public class CommandEventListener
extends org.hawkular.bus.common.consumer.BasicMessageListener<org.hawkular.bus.common.BasicMessage>
NOTE: This listener should likely move to a dedicated deployment, in Hawkular, not Hawkular Alerts. Hawkular Alerts should not really have knowledge about Hawkular-level decisions, like which possible Events to filter out or various special handling that needs to be performed.
Consume Command Gateway Events, convert to Hawkular Events and forward to the engine for persistence/evaluation.
This is useful only when deploying into the Hawkular Bus with Hawkular Command Gateway. The expected message payload should a command pojo.| Constructor and Description |
|---|
CommandEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onBasicMessage(org.hawkular.bus.common.BasicMessage msg) |
onBasicMessage, onMessageCopyright © 2015 Red Hat, Inc.. All rights reserved.