Category: Spring and Spring Boot

0

How to log HTTP Request and Response in Spring Boot

When you are working on complex systems that are built using multiple micro-services, you will need to know the integrations between them, especially when you are accepting user input. I’ve worked most of my career in the banking and payments industry and knowing what was received and what was returned back to the user is not only important for investigating problems, but a requirement for auditing in certain scenarios. And even if you are not legally required, it is extremally...

better_scheduled_jobs_in_spring 0

How to write more stable Scheduled Cron Jobs in Spring

Up until now, I wrote most of my articles for Play Framework, even though I use almost exclusively Spring Boot in my daily job. Well, how about we change things a bit and this time I will be writing about Spring. And what better article than a way to make your code more stable and easier to maintain and debug? So, Spring has a feature that lets you schedule job executions at certain times or at regular intervals. The @Scheduled...