Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package com.springbootdev.samples.producer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
public class SpringBootAmqpRabbitmqProducerApplication implements CommandLineRunner {
private static final Logger LOGGER = LoggerFactory.getLogger(SpringBootAmqpRabbitmqProducerApplication.class);
public static void main(String[] args)
{, args);
public void run(String... strings) throws Exception
{"application is up and running");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment