编程笔记
-
Spring Kafka - Spring Integration Example
Spring Integration extends the Spring programming model to support the well-known Enterprise Integration Patterns. It enables lightweight messaging within Spring-based applications and supports integ…
-
Spring JMS Annotations Example
In this post I’m going to show you EXACTLY how to auto-configure Spring JMS using annotations and Spring Boot. So if you want to get up and running with a minimum amount of coding, then you’ll love t…
-
Spring JMS ActiveMQ Example
I’m going to show you EXACTLY how to create a Spring JMS Hello World example that uses Spring Boot, ActiveMQ, and Maven. (Step-by-step) So if you’re a Spring JMS beginner, you’ll love this guide. Let…
-
Spring WS - HTTPS Client-Server Example
HTTPS is a protocol for secure communication over a computer network. It consists of communication over Hypertext Transfer Protocol (HTTP) within a connection encrypted by Transport Layer Security (T…
-
Spring WS - Basic Authentication Example
Basic Authentication (BA) is a method for a HTTP client to provide a user name and password when making a request. There is no confidentiality protection for the transmitted credentials. therefore it…
-
Spring WS - SOAPAction Header Example
According to the SOAP 1.1 specification, the SOAPAction HTTP header field can be used to indicate the intent of a request. There are no restrictions on the format and a client MUST use this header fi…
-
Spring WS - Log Client Server HTTP Headers Example
Spring Web Services, contrary to a framework like for example Apache CXF, does not provide out-of-the box logging of HTTP headers. Reason for this is that Spring-WS tries to be transport-agnostic and…
-
JSON API - Spring Boot Katharsis Example
JSON API is a specification for building APIs using JSON. It details how clients should request resources to be fetched or modified, and how servers should respond to those requests. JSON API is desi…
-
Spring Kafka - Batch Listener Example
Starting with version 1.1 of Spring Kafka, @KafkaListener methods can be configured to receive a batch of consumer records from the consumer poll operation. The following example shows how to setup a…
-
Spring Kafka - Avro Bijection Example
Twitter Bijection is an invertible function library that converts back and forth between two types. It supports a number of types including Apache Avro. In the following tutorial, we will configure, …