class GatewayNotifier implements Runnable {

    public void distributeInvalidatedCredentials(String instanceId) {
        final Notification notification = new Notification(null, instanceId, Type.DISTRIBUTE_INVALIDATED_CREDENTIALS);
        addToQueue(notification);
    }

    public  GatewayNotifier(@Qualifier("restTemplateWithKeystore") RestTemplate restTemplate, MessageService messageService);

}