-
Spring Boot + Spring LDAP Integration Testing Example
In this example we demonstrate how to use spring boot and spring ldap for writing ldap integration tests. We set up an embedded LDAP server and populate it with a custom schema.ldif file.
Date: 2019-08-10 View: 1669
-
Spring Mail Sending Simple Email with JavaMailSender Example
In this tutorial we demonstrate how to send a simple email using spring mail and spring boot. First we configure our email properties using a YAML or Properties file.
Date: 2019-08-10 View: 1138
-
Spring Mail Sending Email Attachment Configuration Example
This tutorial demonstrates how to send an email with attachment using spring framework. We can add an attachment to a MimeMessage using the MimeMessageHelper.
Date: 2019-08-10 View: 1122
-
Spring Mail Sending Email with Inline Attachment Example
This tutorial demonstrates how to send an email with an inline attachment using spring framework. We can add an attachment to a MimeMessage using the MimeMessageHelper.
Date: 2019-08-10 View: 1605
-
Spring Mail Sending Email with Freemarker HTML Template Example
In this tutorial we demonstrate how to send a HTML email using a custom freemarker template using spring framework. In this topic we learn how to create and configure a custom freemarker template using spring.
Date: 2019-08-10 View: 2611
-
Spring Mail Sending Email with Thymeleaf HTML Template Example
In this tutorial we demonstrate how to send a HTML email using a custom thymeleaf template using spring framework. In this topic we learn how to create and configure a custom thymeleaf template using spring.
Date: 2019-08-10 View: 1961
-
Spring Mail Integration Testing with JUnit and GreenMail Example
In this example we show how to use Spring Mail and write Integration Tests using JUnit and GreenMail. We start by writing a simple email service that sends out emails. We want to verify that this email service sends out correct emails, so we use GreenMail – which is an open source test suite of email servers for testing purposes.
Date: 2019-08-10 View: 1299
-
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.
Date: 2019-08-10 View: 1077
-
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 Configuration.
Date: 2019-08-10 View: 2154
-
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.
Date: 2019-08-10 View: 1291
-
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.
Date: 2019-08-10 View: 1344
-
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.
Date: 2019-08-10 View: 1011
-
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.
Date: 2019-08-10 View: 1268
-
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 single header attribute. The @Headers annotations can inject all headers inside a Map<String, Object>. We can also access header information using MessageHeaders and JmsMessageHeaderAccessor classes.
Date: 2019-08-10 View: 2335
-
Spring Boot Customize Actuator Info Endpoint Example Configuration
In this tutorial, we demonstrate how to customize the spring boot actuator /info endpoint.
Date: 2019-08-10 View: 1302