All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lv.ctco.cukes.rabbitmq.sample.Application Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version
package lv.ctco.cukes.rabbitmq.sample;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@Slf4j
public class Application {

    public static void main(String[] args) {
        run();
    }

    public static ConfigurableApplicationContext run() {
        return SpringApplication.run(Application.class,
                "--rabbitmq.host=localhost",
                "--rabbitmq.port=5672",
                "--rabbitmq.username=guest",
                "--rabbitmq.password=guest",
                "--rabbitmq.virtual-host=default",
                "--rabbitmq.use-ssl=false"
        );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy