Tag Archives: Spring

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 »

Message Cowboy – An Introduction

By | July 22, 2014

Round ’em messages up and bring them home! Message Cowboy is a standalone integration program that allows for scheduling of tasks that transfer files or messages from one directory, JMS queue etc to another directory, JMS queue etc. Messages may be transformed or processed in some other way before being delivered to the destination. Some… Read More »

Modifying Mule Component Properties Using the Spring PropertyOverrideConfigurer

By | June 3, 2014

For some while I have been thinking about how to be able to develop reusable Mule configuration files containing, for instance, entire flows. Of course I have seen the strategy that uses property files and the Spring PropertyPlaceholderConfigurer to inject different values into Mule components depending on the values from the property files. While providing… Read More »