Pipes and Filters

A processing chain where each stage is replaceable.

Pipes and Filters: rendered example
Rendered by Gnomon from the source below. No edits.

The source

36 lines of PlantUML, and pulls in Enterprise Integration Patterns. Copy it, or open the template inside Gnomon and render it as it is.

@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/EIP-PlantUML/main/dist/EIP-PlantUML.puml

title Pipes and Filters Pattern

LAYOUT_LEFT_RIGHT()

ChannelAdapterLeft(source, "File\nAdapter")
MsgChannel(ch1, "")

Filter(decrypt, "Decrypt")
MsgChannel(ch2, "")

Filter(authenticate, "Authenticate")
MsgChannel(ch3, "")

Filter(validate, "Validate")
MsgChannel(ch4, "")

Filter(transform, "Transform")
MsgChannel(ch5, "")

ChannelAdapterRight(sink, "Database\nAdapter")

Pipe(source, ch1)
Pipe(ch1, decrypt)
Pipe(decrypt, ch2)
Pipe(ch2, authenticate)
Pipe(authenticate, ch3)
Pipe(ch3, validate)
Pipe(validate, ch4)
Pipe(ch4, transform)
Pipe(transform, ch5)
Pipe(ch5, sink)

@enduml

Render this offline

This template ships in Gnomon and renders on your machine, with no account and no diagram uploads. The browser editor is free and needs no install.

Get GnomonOpen the browser editor

Others in Enterprise integration pattern diagrams

Analytics cookies (optional)

May we use Google Analytics to understand visits, product links and feature use? If you accept, Google receives usage and device information, including your IP address, and sets analytics cookies. We do not send your documents, filenames or account details. Advertising features are disabled.

Analytics is off until you accept. Your choice is saved on this browser for 180 days using necessary local storage. You can change it at any time in Analytics preferences. Closing this message rejects analytics. Read our privacy policy.