Category: Spring Framework
Spring Cloud Eureka Service Discovery Client Server Example
In this tutorial we demonstrate how to create and configure a service discovery client server environment using Netflix Eureka. First, we use spring-cloud to create and configure a Service Discovery Registry Server. This server...
Spring Boot Customize Actuator Info Endpoint Example Configuration
In this tutorial, we demonstrate how to customize the spring boot actuator /info endpoint. Maven Dependencies We use Apache Maven to manage our project dependencies. Make sure the following dependencies reside on the class-path....
Setting and Reading Spring JMS Message Header Properties Example
In this tutorial we demonstrate how to read and write Spring JMS Message Header properties. We show various ways which you can access header information. We can use the @Header annotation to obtain a...
Spring JMS Error Handling Configuration Example
This tutorial demonstrates error handling using Spring JMS. We create a custom JMS error handler which is capable of handling all errors thrown during transportation, conversion and validation errors. Project Structure Let’s start by...
Spring JMS Validate Messages using JSR-303 Bean Validation
In this tutorial we demonstrate how to validate JMS messages using JSR-303 Bean Validation Annotations. We also show how to create a custom external Validator to validate input parameters of the JMS payload. Project...
Spring Boot ActiveMQ Queue Point to Point Configuration Example
In the following tutorial we show how to use spring boot and ActiveMQ to send and receive messages to -and from a queue. Queue Point to Point Pattern Message queues provide an asynchronous communications...
Spring Boot ActiveMQ Publish Subscribe Topic Configuration Example
In the following tutorial we show how to use spring boot and ActiveMQ to publish -and subscribe messages to -and from topics. Publish Subscribe Pattern Publish-subscribe is a messaging pattern where senders of messages,...
Spring Boot Embedded ActiveMQ Configuration Example
ActiveMQ is the most popular and powerful open source messaging and integration pattern server. In this tutorial we demonstrate how to configure an Embedded ActiveMQ server with Spring Boot using either Java -or XML...
Spring Security + Spring LDAP Authentication Configuration Example
In this tutorial we demonstrate how to Configure Spring Security + Spring LDAP authentication application. We show how to configure spring security and spring LDAP using Java And XML Configuration. LDAP is often used...