Don't send notifications to NOT OK devices (exclude EXPIRED and other statuses)
Devices have a new status column, send notifications only to status = OK. Add status in the activemq message to consumer and let consumer decide to send or not based on status field, and audit if necessary.
Edited by Emmanuel Ormancey