Skip to content
iQBus HomeDocumentationBlogContact
Updated August 11, 2026
Core concepts/Pipelines

Pipelines

A reusable, ordered group of pipeline components, assembled once, referenced by ports, configurable in place.

A pipeline carries default values for every property its components expose, and any port that references the pipeline can override those defaults in place.

That is the entire shape of the concept. There is no fixed BizTalk-style chain of decoder → validator → transformer → encoder, no inbound-vs-outbound type, no built-in stages, just an ordered list of components, the defaults you want for them, and the ports that pull them in.

In BizTalk a pipeline is a fixed-shape object, receive or send, with named stages (Decode, Disassemble, Validate, ResolveParty…) that components plug into. iQBus does not work that way. A pipeline here is a flat, ordered list. The components run in the order you put them; nothing else is implied by their position.

The work of choosing where a pipeline runs has been moved up to the port. A port has named stages, and one of those stages is "pipeline", either inbound or outbound, depending on direction. The pipeline you attach there is the same kind of object regardless of stage; it is the port that gives it a role.

BIZTALK PIPELINE Fixed-shape, named stages STAGE: DECODE Decoder STAGE: DISASSEMBLE XmlDisasm STAGE: VALIDATE empty slot STAGE: RESOLVE PARTY empty slot SHAPE IS FIXED: SLOTS ARE NAMED VS iQBus PIPELINE Flat, ordered list 1 Decoder 2 XmlDisasm 3 … whatever you need next JUST AN ORDER: NO SLOTS
Why this matters. Because the pipeline is not typed inbound or outbound, the same components can be reused across both directions of traffic when the work is symmetrical, a signing component used outbound and a signature-verification component used inbound can sit alongside each other in a shared grouping if you find that easier to maintain than two separate pipelines. This is not a convenience, it is the model: direction is a property of the slot a pipeline is attached to, never of the pipeline or the component. See Components classify the Message Type for the definition and the four positions.

Pipelines are scoped to an Application. From the application menu, the Pipelines list shows every pipeline you have defined inside that application. Each entry has just a few fields:

FieldPurpose
NameHow the pipeline is referenced when a port attaches it. Unique within the application.
ComponentsThe ordered list of pipeline components that make up the pipeline. The order is the execution order.
Default property valuesFor each component's configuration properties, the value the pipeline supplies as the default. Ports inherit these and may override any of them.

A pipeline itself is per-Application: two Applications cannot share a pipeline, and if the same processing is needed in both, define the pipeline in each. Components follow the same rule (see Pipeline components), each one belongs to a single Application, so a pipeline can only reference components defined alongside it, and a change to a component's code propagates to every pipeline that uses it inside that Application and nowhere else.

The list view follows the platform's Selected Application behavior, with an Application selected, the list filters to it and the Application column is hidden; with no selection, the list spans every Application you have access to and the column is shown. Creating a new pipeline uses the same flow: with an Application selected, the form opens with that Application preemptively chosen; without one, the form exposes an Application picker.


The body of a pipeline is the list of components it contains, in the order they should run. Each entry references a pipeline component by its Name. At runtime the components execute in sequence: each one receives the output of the previous one, applies its logic, and hands the result down the line.

PIPELINE: ORDERED LIST OF COMPONENTS Component 1e.g. decompress Component 2e.g. verify signature Component 3e.g. classify type … as many as needed

A pipeline can contain a single component or many. Within an Application the same component can appear in any number of different pipelines, pipelines are groupings, not owners, and components live independently of any particular pipeline. That reuse stops at the Application boundary: a pipeline can only list components defined in its own Application.

i
If a component returns failure, the pipeline stops. When a pipeline component returns Success = false, the pipeline halts on the spot, no later components in the list run. See Handling Errors in the pipeline components reference for the contract.

Transformation is the obvious thing a pipeline does. Typing is the other one, and it is not optional and not side-restricted. Every message a component emits carries a Message Type, set explicitly on the outgoing message, and that holds wherever the pipeline is attached. The type a component leaves on a message is what the map step, the subscription evaluation, and everything else downstream dispatch on.

Direction belongs to the position, not the artifact. A pipeline has no direction. Neither does a pipeline component. There is no receive-pipeline type and no send-pipeline type in iQBus, and the same pipeline object can be attached anywhere. Inbound and outbound are still the right words, but they describe the attachment point rather than the artifact: inbound means the message is entering the bus at that point, outbound means it is leaving. There are four such positions:

PositionDirection
Receive port, receive sectionInbound, the message is entering the bus
Two-way send port, response sectionInbound, the response is entering the bus
Send port, send sectionOutbound, the message is leaving the bus
Two-way receive port, response sectionOutbound, the response is leaving the bus

The typing rule is identical at all four. On an inbound position the type the last component leaves on the message is the type the bus publishes under. On an outbound position it governs how the message is treated on the way to the wire, which validation applies to it and how the payload is framed. Nowhere is it ignored, and nowhere is it inherited silently. Loopback and null ports attach pipelines at their own stages, and the rule reaches them unchanged: every component types every message it emits, wherever the pipeline sits.

The message is already typed before the first component runs. At the two positions where a message enters the bus, the port carries a required Adapter Message Type, and the runtime applies it the instant the adapter hands the message to the next step inside the port. There is no untyped window: the first component in an inbound pipeline receives a message that already has a type, and it re-states that type, or a different one, on everything it emits. See Receive port for the port-side setting.

Classification is just a normal component doing its work: it inspects the message, decides what the message type should be, and sets it on each message it returns. A component that splits an interchange into two hundred messages types all two hundred. A component that leaves the body untouched still states the type it was handed.

TYPED AT THE ADAPTER, RE-STAMPED BY EVERY COMPONENT OFF THE WIRE ADAPTER HANDOFF COMPONENT 1 COMPONENT 2 ONTO THE BUS Adapter picks the message up off the wire REQUIRED Adapter Message Type type: EdiFile SETS THE TYPE Disassemble emits XML type: Order SETS IT AGAIN Enrich body changed type: Order PUBLISHED type: Order the last type set No untyped window. The type is set before the first component runs, and set again on everything each component emits. ONE COMPONENT IN, MANY MESSAGES OUT Component splits the interchange message 1 type: Order message 2 type: Order message 3 type: Order Two hundred messages out means two hundred types set. No message leaves untyped.
The rule does not change on the way out. A pipeline attached at an outbound position, the send section of a send port, the response section of a two-way receive port, is usually doing post-processing, compression, encryption, signing, framing. It types every message it emits all the same, and the type is consequential there: it decides how the message is treated on the way to the wire, which validation applies to it, and how the payload is framed. Stamping the wrong type outbound breaks the exchange exactly as stamping the wrong type inbound does.
i
Type every message, and type it to something the Application defines. Every message a component emits carries a Message Type, at every position, including the messages whose bodies it did not touch. Classifying to a Message Type that does not exist in the Application is a real error: components are free to set whatever string they choose, but the value has to match a Message Type defined in the same Application as the pipeline, or the port fails the run.

Every pipeline component exposes its public configuration properties to the UI, see Configuration Class in the component reference. Those properties resolve in three tiers, weakest to strongest:

TIER 3: PORT OVERRIDE Wins (set on the port that references the pipeline. Scoped to that one port.) OVERRIDES TIER 2: PIPELINE DEFAULT Inherited by every port (set when the component is added to the pipeline.) OVERRIDES TIER 1: COMPONENT DEFAULT Baked into the component’s C# config class. The starting point when nothing further is set. STRONGEST WEAKEST

When a port references a pipeline, the port's UI surfaces every property of every component in that pipeline, prefilled with the pipeline's default values. Edit any of those values in place to override them, the change applies only to the port doing the override; other ports referencing the same pipeline are untouched.

Use the tiers as intended. Put the cross-environment, cross-port baseline in the pipeline defaults; reach for a port override only when one specific port needs to deviate. The fewer port-level overrides you carry, the easier it is to reason about a pipeline change later.
i
Binding expressions still apply. Property values at every tier accept the {{ }} binding syntax for variables and promoted properties, resolved at runtime before the component executes. See Runtime Binding with {{ }}.

A pipeline only ever executes because a port attached it to one of its stages. There is no standalone "run a pipeline" trigger. The attachment points across the four port types are:

Receive port REQUEST: ONTO BUS Inbound pipeline TYPES EVERY MESSAGE RESPONSE (TWO-WAY) Outbound pipeline TYPES EVERY MESSAGE ORDER OUT: map → pipeline ORDER BACK: pipeline → map Send port REQUEST: OFF BUS Outbound pipeline TYPES EVERY MESSAGE RESPONSE (TWO-WAY) Inbound pipeline TYPES EVERY MESSAGE ORDER OUT: map → pipeline ORDER BACK: pipeline → map Loopback port OUTBOUND: OFF BUS Outbound pipeline TYPES EVERY MESSAGE INBOUND: ONTO BUS Inbound pipeline TYPES EVERY MESSAGE ORDER OUT: map → pipeline ORDER IN: pipeline → map Null port OUTBOUND: OFF BUS Outbound pipeline TYPES EVERY MESSAGE No return path Message discarded ORDER OUT: map → pipeline ONE-WAY ONLY no inbound stage

The pipeline is optional at every one of those points; if a port leaves it unset, the message bypasses the pipeline stage entirely. Pipelines are not direction-typed, the same pipeline object can be attached to an inbound slot on one port and an outbound slot on another; the port decides the role, as set out in Direction belongs to the position. Wherever it is attached, every component in it types every message it emits. For the full numbered stage model and its diagrams, see Ports.

Order is inverted on the return path. On the way out (off the bus, toward the wire) the message goes through map first, then pipeline, the canonical shape gets reshaped to the destination’s wire format before transport-level post-processing such as compression or signing. On the way back (off the wire, onto the bus) the order flips: pipeline first, then map, transport-level pre-processing such as decompression or signature verification happens before the response is reshaped into the canonical form used on the bus.

When a pipeline component referenced by a pipeline is edited and saved, every pipeline in that Application that uses it picks up the new code immediately, and so does every port that references those pipelines. There is no pipeline rebuild step, no redeploy, no host restart. The blast radius stops at the Application boundary: another Application that happens to have a component of the same name holds a separate artifact and is unaffected.

This works because iQBus compiles components automatically on save (see runtime model in the component reference). The pipeline holds a reference to the component by name, not a frozen copy of its compiled output, so the next message through the pipeline runs against the latest version.

⚠️
Treat the component Name as immutable. Renaming a component breaks every pipeline that references it, and therefore every port. If a rename is unavoidable, create a new component, update each pipeline to point to the new name, then retire the old one. See Naming Your Component.

That is the whole job

An ordered list of components, the default values you want for them, and the ports that pull them in. Everything else, direction, stages, lifecycle, lives at the port and the component.