throw new RuntimeException("Please define annotation @RabbitMQProducer.");
}
// Create Channel
RabbitMQPlugin plugin = Play.plugin(RabbitMQPlugin.class);
channel = plugin.createChannel(this.queueName, this.routingKey);
if (channel == null) {
throw new RuntimeException("Error creating a communication channel with RabbitMQ. Please verify the health of your RabbitMQ node and check your configuration.");
}
// Publish Message