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.
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:
| Field | Purpose |
|---|---|
| Name | How the pipeline is referenced when a port attaches it. Unique within the application. |
| Components | The ordered list of pipeline components that make up the pipeline. The order is the execution order. |
| Default property values | For 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.
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.
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:
| Position | Direction |
|---|---|
| Receive port, receive section | Inbound, the message is entering the bus |
| Two-way send port, response section | Inbound, the response is entering the bus |
| Send port, send section | Outbound, the message is leaving the bus |
| Two-way receive port, response section | Outbound, 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.
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:
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.
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:
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.
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.
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.