SQL statements to list settings defined in postgresql.conf and overriden by postgresql.auto.conf.
Sometimes we need to terminate active connections to a database forcefully. Doing such requires two things, determining which active connections to target and running the command to terminate them. This
This post is about how to auto-wire a set of beans to a list in Spring. Essentially, we need to add @bean’s to an list.
This post demonstrates how to use Spring Boot, and Spring DI with Apache Camel and have Spring add routes and start and stop CamelContext automatically.
Using @Conditional with @Configuration in Spring allows us to group @Bean objects that are loaded on a specific condition without resorting to using @Profile and too many @Bean/@Conditional.