Package org.rhq.enterprise.server.alert.engine.jms.model

Examples of org.rhq.enterprise.server.alert.engine.jms.model.InactiveAlertConditionMessage


        Connection connection = factory.createConnection();
        Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
        MessageProducer sender = session.createProducer(alertConditionQueue);

        // missing "value" element in the message is a negative event
        InactiveAlertConditionMessage conditionMessage = new InactiveAlertConditionMessage(alertConditionId, timestamp);

        ObjectMessage message = session.createObjectMessage(conditionMessage);

        sender.send(message);
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.alert.engine.jms.model.InactiveAlertConditionMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.