Organizational Research By

Surprising Reserch Topic

use spring boot actuator without a spring boot application


use spring boot actuator without a spring boot application  using -'java,spring,spring-mvc,spring-boot'

Spring Boot's Actuator library with production information endpoints is really useful for any server application. But the problem is I could not find a way to integrate into a traditional Spring Application (which is not a Spring BOOT application).

There must be some way to use the endpoints of actuator but I could not wire them up.

I have a JavaConfig class like below

@Configuration
@ComponentScan(basePackages = { "com.company.helper", "org.springframework.boot" })
@EnableWebMvc
@Import({ DbConfig.class })

public class AppConfig extends WebMvcConfigurerAdapter {

}


But this configuration throws an error during deployment.

Can this wiring be done without the Spring Boot application?
    
asked Oct 13, 2015 by devkumargupta
0 votes
79 views



Related Hot Questions



Government Jobs Opening


...