Category: Spring Boot
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...
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...
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 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 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. Project Structure Our project structure looks like the...
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. Project Structure Our project structure looks like the following: Maven...
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. Project Structure Our project structure...