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
88 views



Related Hot Questions

3 Answers

0 votes
NULL
answered Oct 13, 2015 by mca.agarwal
0 votes
NULL
answered Oct 13, 2015 by sujata naik
0 votes
NULL
answered Oct 13, 2015 by sameer rathore

...