Tag Archives: Spring

Spring Integration 5 – Cloning Messages

By | November 21, 2017

This is an article in a series of articles introducing Spring Integration 5. I imagine most of the examples can be applied to earlier versions of Spring Integration as well, it just happens that I started out with Spring Integration 5 and I have little reason to investigate compatibility with previous versions. The articles assume… Read More »

Spring Integration 5 – Creating Messages

By | November 19, 2017

This is an article in a series of articles introducing Spring Integration 5. I imagine most of the examples can be applied to earlier versions of Spring Integration as well, it just happens that I started out with Spring Integration 5 and I have little reason to investigate compatibility with previous versions. The articles assume… Read More »

Spring Integration 5: WebFluxInboundEndpoint and Remote Client Address

By | October 14, 2017

Spring Integration 5 comes with the new WebFluxInboundEndpoint which is an endpoint that allows you to use reactive programming when handling HTTP requests in your Spring Integration application. Not only this, but the WebFluxInboundEndpoint is also implemented in a fashion which makes it much more suitable for reuse. In this article I am going to… Read More »

Preparing Message Payloads with Thymeleaf

By | August 8, 2017

In this article I will show how to prepare message payloads with parameters in different formats using the Thymeleaf template engine. No previous knowledge of Thymeleaf is assumed. As far as I am concerned there are several use cases for this. Some examples are: System integration. Requests can be maintained as plain files and no… Read More »

Updated REST Example

By | May 21, 2017

A short note to tell you that my REST example application has been updated for the first release candidate of Spring 5 as well as the first milestone for Spring Boot. Some minor changes in the API I’ve used, such as introducing findById in Spring Data JPA repositories which return an Optional. I’ve also created… Read More »

REST with Asynchronous Jersey and RXJava – Part 1

By | November 19, 2016

In this series of articles I will implement a RESTful web service using Spring Boot and Jersey. I will then modify the service as to use asynchronous server-side request processing and RXJava. Load-tests will be made using Gatling before and after the modifications, in order to determine any improvements.  Note: The example program in this… Read More »

Spring Application Events

By | September 20, 2016

In this post I will show how to use Spring events, which are events that can be published and listened to within a Spring application context running in one JVM. Background I was looking for a way to decouple different parts of an application I am working on. While I have read about event sourcing,… Read More »

Spring Dependency Injection in Mule FunctionalTestCase

By | December 13, 2015

In this article I will show how to accomplish dependency injection of fields in tests that inherit from the Mule class FunctionalTestCase; both of dependencies to Spring beans and of values from property files. Background On an earlier occasion, I have attempted to use the standard @RunWith(SpringJUnit4ClassRunner.class) annotation in order to be able to have Spring… Read More »

Using Message Cowboy

By | August 4, 2014

In this second article about Message Cowboy, the tool to perform scheduled file moves and message transfers, I will talk a bit about how to use the program. Configuration Properties Using the configuration properties, we can configure which database will be used, whether to start an embedded ActiveMQ broker and some additional aspects of database… Read More »