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);