public void processEvent(@Observes ClientVersionStatusEvent signupEvent) {
        // For now, we'll only send a message if there's a register?
        if (signupEvent.getNewStatus() == ClientStatus.Registered) {
            LOGGER.debug("Processing client app registered event {0}", signupEvent);
            CreateNotificationDto newNotification = new CreateNotificationDto();
            String clientOrg = signupEvent.getClientOrgId();

            RecipientDto clientAdmins = new RecipientDto()
                 .setRecipient(PermissionType.clientAdmin.name())
                 .setOrgId(clientOrg)
                 .setRecipientType(RecipientType.PERMISSION);

            newNotification.setRecipient(List.of(clientAdmins))
                           .setReason(APIMAN_CLIENT_STATUS_CHANGE)
                           .setReasonMessage("Client was published")
                           .setCategory(NotificationCategory.API_ADMINISTRATION)
                           .setSource("/apiman/notifications/clients/status")
                           .setPayload(signupEvent);

            LOGGER.debug("Sending notification for client app registration: {0}", newNotification);
            notificationService.sendNotification(newNotification);
        }
    }
Send notification when the client is registered (could be auto-registered after approval).

@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/rest-impl/src/main/java/io/apiman/manager/api/notifications/producers/ClientAppStatusNotificationProducer.java