Quantcast
Channel: upenderc27
Browsing all 8 articles
Browse latest View live

Find An Element from Map and Map contains values as List using Guava

Finding an element from Map bit  complex but using Google Guava API its simply whole logic. The above code explain how can f we ind an element from MAP...

View Article


Power of Guava Switcher

In Java Switch has limitation i.e you can check case values integer , character, or string, etc.but you can't combine all these cases in single switch case. If...

View Article


MockRunner with JMS Spring Unit Test

This article shows how to mock your JMS infrastructure using MockRunner and test it using Spring. It is easy to test without JMS infrastructure such as Active...

View Article

Spring Integration with JMS and Map Transformers

In this article I explained how spring built-in transformers  works for while transforming object message to Map Message.Sometimes the messages need to be...

View Article

Groovy Single Line of Code for Filtering Java List

class Person { private String name; Person(String name) { this.name=name; } public String getName() { return this.name; } @Override ...

View Article


Groovy Single Line of Code for Filtering Java List

class Person { private String name; Person(String name) { this.name=name; } public String getName() { return this.name; } @Override ...

View Article

Spring Integration Error Handling with Router, ErrorChannel, and Transformer

In this article explained how errors are handled when using the messaging system with Spring Integration and how to handle route and redirect to specific...

View Article

Multiple JUNIT Asserts Can Combine Into One Single Assert By Using Builder

Problem 1:  Multiple Asserts Using multiple asserts are not good practice because if first one fail and the remaining asserts will not reach...

View Article

Browsing all 8 articles
Browse latest View live