/** * Broadcast message using RabbitM! * @param content of the message */ public boolean broadcast(Object content) { if (rabbitMQ != null) { return rabbitMQ.broadcast(content); } else { DispatchLogger.log("RabbitMQ is not properly configured, therefore it is not possible to publish any messages. Please consult logs and double check configuration files"); return false; } }
/** * Broadcast message using RabbitMQ * @param content of the message */ public static boolean broadcast(Object content) { RabbitMQPublisher rabbitMQ = RabbitMQPublisher.getInstance(); if (rabbitMQ != null) { return rabbitMQ.broadcast(content); } else { DispatchLogger.log("RabbitMQ is not properly configured, therefore it is not possible to publish any messages. Please consult logs and double check configuration files"); return false; } } }
/** * Broadcast message using RabbitMQ * @param content of the message */ public static boolean broadcast(Object content) { RabbitMQPublisher rabbitMQ = RabbitMQPublisher.getInstance(); if (rabbitMQ != null) { return rabbitMQ.broadcast(content); } else { DispatchLogger.log("RabbitMQ is not properly configured, therefore it is not possible to publish any messages. Please consult logs and double check configuration files"); return false; } } }
/** * Broadcast message using RabbitMQ * @param content of the message */ public static boolean broadcast(Object content) { RabbitMQPublisher rabbitMQ = RabbitMQPublisher.getInstance(); if (rabbitMQ != null) { return rabbitMQ.broadcast(content); } else { DispatchLogger.log("RabbitMQ is not properly configured, therefore it is not possible to publish any messages. Please consult logs and double check configuration files"); return false; } } }