Home » Tag Archives: Spring Integration (page 2)

Tag Archives: Spring Integration

Spring Integration – Using RMI Channel Adapters

spring-interview-questions-answers

1.Introduction This article explains how to send and receive messages over RMI using Spring Integration RMI channel adapters. It is composed of the following sections: Implementing the service: The first section focuses on creating and exposing a service. Implementing the client: Shows how to invoke the service using the MessagingTemplate class. Abstracting SI logic: Finally, I’ve added another section explaining ...

Read More »

Optimising Your ApplicationContext

spring-interview-questions-answers

There’s a problem with Spring, it’s been there for some time and I’ve come across it in a number of projects. It’s nothing to do with Spring, or the Guys at Spring, it’s down to Spring’s users like you and me. Let me explain… In the old days of Spring 2 you had to configure your Application Context by hand, ...

Read More »

Spring Integration Publisher

spring-interview-questions-answers

Consider a hypothetical requirement – You have a service class in your application and you want to capture some information around the calls to this service:                   @Service public class SampleBean { private static final Logger logger = LoggerFactory.getLogger(SampleBean.class); public Response call(Request request) { logger.info("SampleBean.call invoked"); return new Response(true); } } AOP ...

Read More »

Light-weight, open-source integration: Apache Camel or Spring Integration?

apache-camel-logo

First of all, for full disclosure, for the last 1.5 years, I’ve been working as a consultant for FuseSource (now Red Hat) supporting SOA and Integration projects for large and small companies in diverse verticals from retail, shipping, banking/finance, health, etc etc. My specialty has been architecting solutions with high scalability and throughput demands using some of the best open-source ...

Read More »

Spring Integration: A lightweight integration Approach

spring-interview-questions-answers

Today’s application expects access of all business in enterprise environment regardless of application technologies, which require, seamless integration with desperate systems. This integration can be achieved through wiring of desperate systems using Middleware technologies. Integration platform enables environment for applications to share information with each other to make architecture high interoperable. Spring Integration provides a mediation framework to build lightweight ...

Read More »

Spring Integration – Robust Splitter Aggregator

spring-interview-questions-answers

A Robust Splitter Aggregator Design Strategy – Messaging Gateway Adapter Pattern What do we mean by robust? In the context of this article, robustness refers to an ability to manage exception conditions within a flow without immediately returning to the caller. In some processing scenarios n of m responses is good enough to proceed to conclusion. Example processing scenarios that ...

Read More »

Aggregating async results using Spring Integration

spring-interview-questions-answers

Hi, I came across an issue which has very nice solution using Spring Integration. Many times we have the need for a scenario of dispatching a message to unknown number of destinations. For this purpose we have the Topic methodology. But some times in addition we also want to receive answers from all destinations which received the message and aggregate ...

Read More »

Spring Integration key notes with real life scenarios

spring-interview-questions-answers

This post will summarize Spring Integration (SI) important key notes together with messaging Integration patterns. For each key note I will add a real life example based on my experience. Splitter a. What it does? The Splitter is actually a pattern which receives one message in one point and split it into several. b. Why is it good for me? The Splitter can be used ...

Read More »

Migrating from Hibernate 3 to 4 with Spring integration

jboss-hibernate-logo

This week it was time to upgrade our code base to the latest Hibernate 4.x. We postponed our migration (still being on Hibernate 3.3) since the newer maintenance releases of the 3.x branch required some API changes which were apparently still in flux. An example is the UserType API which was still showing flaws and was going to be finalized ...

Read More »

Spring Integration – Application from scratch, Part 2

spring-interview-questions-answers

This is the second part of the tutorial where we are creating an invoices processing application using Spring Integration. In case you missed it, be sure to look at the first part. Previously we’ve defined functional requirements for the system, created gateway, splitter, filter and router component. Let’s continue with creating a transformer. 5. Transforming invoices to the payments We’ve ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close