Home » Author Archives: Biju Kunjummen

Author Archives: Biju Kunjummen

RabbitMQ retries using Spring Integration

rabbitmq-logo

I recently read about an approach to retry with RabbitMQ here and wanted to try a similar approach with Spring Integration, which provides an awesome set of integration abstractions. TL;DR the problem being solved is to retry a message(in case of failures in processing) a few times with a large delay between retries(say 10 mins +). The approach makes use of ...

Read More »

Integrating with RabbitMQ using Spring Cloud Stream

spring-interview-questions-answers

In my previous post I wrote about a very simple integration scenario between two systems – one generating a work unit and another processing that work unit and how Spring Integration makes such integration very easy. Here I will demonstrate how this integration scenario can be simplified even further using Spring Cloud Stream I have the sample code available here – the right maven ...

Read More »

No downtime deployment using “Yet another” Cloud Foundry Gradle plugin

gradle-logo

I have been trying my hand at writing a gradle plugin for deploying applications to Cloud Foundry and wrote about this plugin in my previous post. I have now enhanced this plugin with support for no-downtime deploys into Cloud Foundry using two approaches – an Autopilot style deployment and a more commonly used Blue-Green style deployment. To jump into the meat of the plugin, once ...

Read More »

Introducing “Yet another” Cloud foundry Gradle plugin

gradle-logo

In the process of working on an automated Jenkins pipeline for deploying a Cloud Foundry application with two of my colleagues(Thanks Mark Alston, Dave Malone !) I decided to try my hand on writing a Gradle plugin to perform some of the tasks that are typically done using a command line Cloud Foundry Client. Introducing the totally unimaginatively named “ya-cf-app-gradle-plugin” with a set of gradle ...

Read More »

Spring Cloud Zuul – Writing a Filter

spring-interview-questions-answers

Netflix OSS project Zuul serves as a gateway to backend services and provides support for adding in edge features like security, routing. In the Zuul world specific edge features are provided by components called the Zuul Filter and writing such a filter for a Spring Cloud based project is very simple. A good reference to adding a filter is here. Here I ...

Read More »

Spring Cloud Zuul Support – Configuring Timeouts

spring-interview-questions-answers

Spring Cloud provides support for Netflix Zuul – a toolkit for creating edge services with routing and filtering capabilities. Zuul Proxy support is very comprehensively documented at the Spring Cloud site. My objective here is to focus on a small set of attributes relating to handling timeouts when dealing with the proxied services. Target Service and Gateway To study timeouts better I have ...

Read More »

Spring-Reactive samples

spring-interview-questions-answers

Spring-Reactive aims to bring reactive programming support to Spring based projects and this is expected to be available for the timelines of Spring 5. My intention here is to exercise some of the very basic signatures for REST endpoints with this model. Before I go ahead let me acknowledge that this entire sample is completely based on the samples which Sébastien Deleuze has ...

Read More »

Cloud Foundry Java Client – Streaming events

java-interview-questions-answers

Cloud Foundry Java Client provides Java based bindings for interacting with a running Cloud Foundry instance. One of the neat things about this project is that it has embraced the Reactive Stream based API’s for its method signatures, specifically using the Reactor implementation, this is especially useful when consuming streaming data. In this post I want to demonstrate a specific use case where ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns