Stream processing

Spring Integration provides two implicit components for stream: one to read the streams and an other to write to streams. This section is small—let's quickly get to the code!

Prerequisites

First, let's add the namespaces and Maven dependencies:

  • Namespace support can be added using the following code:
    <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns:int-stream= "http://www.springframework.org/schema/integration/stream" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xsi:schemaLocation= "http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/integration/stream http://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd"> ...

Get Spring Integration Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.