Created
November 5, 2017 18:08
-
-
Save chathurangat/767e903a1085993661fc17d51c06cd4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
@SpringBootApplication | |
@EnableScheduling | |
public class SpringBootAmqpRabbitmqProducerApplication implements CommandLineRunner { | |
private static final Logger LOGGER = LoggerFactory.getLogger(SpringBootAmqpRabbitmqProducerApplication.class); | |
public static void main(String[] args) | |
{ | |
SpringApplication.run(SpringBootAmqpRabbitmqProducerApplication.class, args); | |
} | |
@Override | |
public void run(String... strings) throws Exception | |
{ | |
LOGGER.info("application is up and running"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment