About Bikram Kundu

I am a Software Craftsman, with slightly more admiration towards design and architecture. Among the few and far developers with proficiency in Java & JavaScript. I am equally in love with SkillIQ and RoleIQ.

Exchanges, Queues, and Bindings in AMQP

In this article, you will learn about Exchanges, Queues, and Bindings in detail. In the previous article, you learned about sending a simple message to a Queue named Queue-1 . Even though I did not involve any Exchange to send and receive the message, but RabbitMQ involves its default Exchange to do the work. Exchanges in AMQP - RabbitMQ Exchanges [Read More]

By |2021-04-04T19:08:39+00:00March 18th, 2020|Categories: RabbitMQ|Tags: , , |

Install and Setup RabbitMQ Server

In this article, you will learn to set up a RabbitMQ server for the development purpose using docker-compose. We will download the official rabbitmq docker image, run it. Prerequisites Docker, minimum installed version - 2.0.Docker-compose, minimum installed version - 1.23. Installation of RabbitMQ - docker-compose Step-1) Make sure you have the docker installed in your system by running the below [Read More]

By |2021-04-04T18:59:52+00:00March 16th, 2020|Categories: RabbitMQ|Tags: |

Elements of AMQP – Advanced Message Queuing protocol

In this tutorial, we will learn the different elements of AMQP to work with RabbitMQ. I have already talked about the basics of RabbitMQ in the previous introduction article. Lets first learn the basics components of any messaging system and then we will get into the elements of AMQP. Basic components of a Messaging system Any messaging system is made [Read More]

By |2021-04-04T19:01:59+00:00March 16th, 2020|Categories: RabbitMQ|Tags: |

Introduction to RabbitMQ

More and more companies are adapting to Microservices due to reliability and scalability. Software architectures are rethinking their system designs, monolithic applications are evolving into microservices and infrastructures are moving to cloud. Messaging is undoubtedly an important facet of any microservice architecture. RabbitMQ is a message broker (message queuing software) used to exchange data between processes, applications, systems or servers. [Read More]

By |2021-04-04T18:55:33+00:00March 1st, 2020|Categories: RabbitMQ|Tags: , |

Fine-tune auto wiring using @Primary and @Qualifier

Introduction Autowiring by type can lead to ambiguity when we have multiple beans of the same base class type. Because there are multiple beans of the same type, it is important to have control over the bean selection process. Spring provides @Primary annotation which declares a specific bean as primary, which means primary bean will be given higher preferences when [Read More]

By |2020-04-24T18:26:47+00:00February 26th, 2020|Categories: Spring Framework|Tags: |

Dependency Injection: @Autowired, @Resource and @Inject

In Spring Framework, you can basically use any of the three annotations for Dependency Injection, namely @Autowired, @Resource and @Inject. The @Autowired annotation belongs to the core-spring, however, the other two belongs to the Java extension package @javax.annotation.Resource and @javax.inject.Inject. We will look into the use of each of these annotations with a practical use case, to help you choose [Read More]

By |2020-04-24T18:26:36+00:00February 23rd, 2020|Categories: Spring Framework|Tags: |

Spring BeanPostProcessor to customize beans

Spring BeanPostProcessor beans are a special kind of beans that get created before any other beans and Spring allows you to assign customize callbacks to it. Spring provides the BeanPostProcessor interface, you can implement its methods to provide your own instantiation logic and dependency resolution logic. NOTE - the following before working with BeanPostProcessor. BeanPostProcessor methods are executed after the [Read More]

By |2020-04-24T18:26:19+00:00February 15th, 2020|Categories: Spring Framework|Tags: , |

Spring bean definition Inheritance

In Spring Framework, bean definition inheritance (bean configuration inheritance) is a valuable time-saving feature we must learn. As you know, a bean definition is nothing but the configuration for the Spring IoC container to create our bean as per the details. Refer to the article Inversion of Control and Dependency Injection in Spring, if you need to understand the basics [Read More]

By |2020-04-24T18:26:06+00:00February 13th, 2020|Categories: Spring Framework|Tags: |

Mapping and Injecting Collections in Spring

Spring Framework supports the injection of the Java Collection types List, Set, Map and Properties. You can use XML as well as annotations based configurations. We will learn Constructor, Setter, and Field injections for the collections using annotations based configurations in this article. The complete code example is available in the GitHub code repository. I recommend understanding the basics of [Read More]

By |2020-04-24T18:25:57+00:00January 22nd, 2020|Categories: Spring Framework|Tags: , |

Spring bean Lifecycle Callbacks

In this article, you will learn the Spring bean lifecycle and different ways to run bean initialization callbacks and bean destruction callbacks. Bean lifecycle simply means you want to execute callbacks before the spring bean is available to use and similarly execute callbacks before the bean is destroyed. There are several ways to configure the Spring bean lifecycle callbacks as [Read More]

By |2020-04-24T18:25:40+00:00January 17th, 2020|Categories: Spring Framework|Tags: , , |
Go to Top