PostgreSQL

List Settings In postgresql.conf and postgresql.auto.conf

SQL statements to list settings defined in postgresql.conf and overriden by postgresql.auto.conf.

Read More...

PostgreSQL

PostgreSQL Terminate Active Connections

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

Read More...

Software Development

Autowire beans to a List in Spring using Java

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.

Read More...

Software Development

Spring Boot – Using annotations with Apache Camel

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.

Read More...

Java, Software Development, Spring

Using @Conditional with @Configuration in Spring

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.

Read More...