org.rhq.enterprise.server.alert.engine.jms
Class CachedConditionProducerBean
java.lang.Object
org.rhq.enterprise.server.alert.engine.jms.CachedConditionProducerBean
- All Implemented Interfaces:
- CachedConditionProducerLocal
public class CachedConditionProducerBean
- extends Object
- implements CachedConditionProducerLocal
A convenience class that will be used by the AlertConditionCacheManager to send messages to a JMS queue for
processing. These messages reference alert conditions that have triggered (become true). The contents will be picked
at on the other end of the non-durable queue by the consumer, which will then create and persist the appropriate log
message.
- Author:
- Joseph Marques
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedConditionProducerBean
public CachedConditionProducerBean()
sendActivateAlertConditionMessage
public <S> void sendActivateAlertConditionMessage(int alertConditionId,
long timestamp,
S value,
Object... extraParams)
throws javax.jms.JMSException
- Description copied from interface:
CachedConditionProducerLocal
- Send a message to the appropriate JMS destination for processing. This destination handles creating and
persisting entities corresponding to triggered alert conditions.
- Specified by:
sendActivateAlertConditionMessage in interface CachedConditionProducerLocal
- Throws:
javax.jms.JMSException
sendDeactivateAlertConditionMessage
public void sendDeactivateAlertConditionMessage(int alertConditionId,
long timestamp)
throws javax.jms.JMSException
- Specified by:
sendDeactivateAlertConditionMessage in interface CachedConditionProducerLocal
- Throws:
javax.jms.JMSException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.