Skip to content
iQBus HomeDocumentationBlogContact
Updated November 13, 2026
Core concepts/Ports
Concept

Ports

Ports are the entry and exit boundaries of an integration. Every message in iQBus enters, exits, or is rerouted through a port, and four port types together cover every direction a message can take.

A port binds a configurable processing flow, variable assignments, pipelines, and maps, to either a transport adapter (for receive and send ports), an in-system fold-back (loopback), or a terminal sink (null). The four types share the same stage model; what differs is what sits at the boundary and which directions of the flow are active.

The bus referenced throughout this page is iQBus's internal message fabric, not Azure Service Bus. Messages flow into the bus from receive ports, are picked up off the bus by send, loopback, and null ports through subscription expressions, and, for two-way and loopback flows, are published back to the bus when a response is produced.

Ports are scoped to an Application. Each Application has its own private bus, and a port can only reference resources defined in the same Application, Authentications, Pipelines, Maps, Message types, Schemas, and Variables.

SCOPE Application A Receive Send Loopback Null Bus, private to Application A REFERENCABLE BY THIS APP’S PORTS Authentications Pipelines Maps Message types Schemas Variables Same-Application only. Nothing else is in scope. SCOPE Application B Receive Send Null Bus, private to Application B Its own resources, its own bus. Invisible to Application A’s ports. Per-Application isolation, always.

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. Creating a new port works the same way: an Application selection preempts the picker. The list itself is described in The ports list.


The Ports screen is a single grid with a toolbar above it: a Search box, a row of port-type filter chips, and a + New Port button. This is the screen you work from, both to find a port and to act on it.

Search matches the port name only. It does not search the adapter, the port type, or anything inside the port’s configuration. To narrow by adapter or type, use the filter chips and read the grid.

Filter chips. Five chips, All ports Receive Send Loopback Null, each carrying a live count of the ports behind it. Picking one narrows the grid to that port type; All ports puts everything back. The counts are worth reading on their own, they are the quickest look at the shape of an Application, four receive ports against thirty send ports tells you something before you open anything.

Columns. Six, two of them icons rather than text, after a tick box at the start of every row for selecting ports, see Acting on several ports below:

ColumnWhat it shows
STATUSAn icon for the port’s state, with a tooltip on hover: a green play for Running, a red stop for Stopped, an amber pause for Paused, a pencil for a Draft. A port that follows a Service Window shows its state inside a clock icon, with the tooltip Running in its service window, Stopped until its service window opens, or Paused until its service window opens. The icon changes on its own, without a reload, when a window opens or closes and when iQBus stops a port. See Running, stopped, and paused.
NAMEThe port name, unique within its Application. The only thing Search matches.
ADAPTERThe adapter bound to the port. Loopback and null ports have no adapter.
WAYAn icon, one-way or two-way, with a tooltip on hover.
TYPEThe port type, receive, send, loopback, or null.
ACTIONSA three-dot control that opens the row’s action menu, below.

The Actions menu. Every row’s three-dot control opens a menu split into two groups by a separator: the artifact actions first, then the lifecycle actions.

ActionWhat it does
EditOpens the port editor, see Inside the port editor.
CloneCopies the port, complete, under a generated name. See the note below.
DeleteRemoves the port from the Application. Confirmation is required.
Start, Stop, Pause, RestartOnly the moves the port’s current state allows. A running port offers Stop, Pause, and Restart; a stopped port offers Start and Pause; a paused port offers Start and Stop. A receive port never offers Pause. Restart stops and starts a running port in one step. See Running, stopped, and paused.
Stop (override), Pause (override)Shown instead, with no Start, on a port that follows a Service Window, whatever its state. Either one takes the port off its window: it stays stopped or paused until you start it again. A receive port offers Stop (override) only.

Acting on several ports. Tick the box at the start of each row you want, or the box in the header row to select every port on the page. The button beside that header box then opens a batch menu that names how many ports each action touches, for example Start 2 ports, Pause 1 port, Delete 2 ports. A selected port the action does not apply to is skipped and the menu says so, Skipped: 1 cannot be paused for a receive port in the selection. When the selection includes a port that follows a Service Window, the entry counts the override, Stop 2 ports (1 override), and the confirmation tells you that port leaves its window and stays stopped until started again.

!
Clone copies everything and asks you for nothing. The clone carries the whole port: the adapter configuration, the Authentication reference, the subscription expression, and the Exception Message Type. It is not a shell you fill in, it is a working duplicate. Two things differ from the source. The name is generated with a prefix and a counter, so cloning MorningRateClock gives you COPY_MorningRateClock_1, and the clone lands stopped whatever state the source was in. Rename it and start it when you are ready.
Why the clone starts stopped matters. A complete copy of a running port would otherwise be a second live subscriber the moment it existed, picking up the same messages as its source. Landing stopped means you get to rename it, retarget it, and check it before it competes for traffic. On a receive port with a uniqueness-constrained listener, such as the API Listener header combination, starting the clone before you change that configuration will fail validation, which is the intended outcome.
State is changed from the list, not the editor. Start, Stop, Pause, and Restart live here, on the row and on the batch menu. The port editor has no state control at all; its title only shows the port’s status icon, the same one as its row, see Inside the port editor.

PORT TYPES 01 Receive 02 Send 03 Loopback 04 Null DIRECTION ↓ Inbound ↑ Outbound ↻ In-system ✕ Terminal MODES One-way · Two-way One-way · Two-way Two-way only One-way only ADAPTER ✓ Required ✓ Required ✗ None ✗ None ADAPTER MT ✓ Required Required if 2-way ✗ No adapter ✗ None USE CASE Listen for input Dispatch outbound Reshape in-flow Consume & discard

A port is in one of three states: Running, Stopped, or Paused. There is no separate publish or deploy step, everything you configure on a port is saved and applied immediately. The state only controls whether the port is live: a running port listens, dispatches, or subscribes; a stopped port is inert and takes no part in routing; a paused port keeps its subscription but delivers nothing. The actions that move it between them are Start, Stop, Pause, and Restart; Restart is a convenience that stops and starts a running port in one step, for example to reset a Scheduler receive port’s timer, an action, not a fourth state.

Paused. Only ports that subscribe can pause: send, loopback, and null ports. A receive port cannot. A paused port’s subscription keeps matching, and every message routed to it is held instead of processed. Held messages are listed on the Paused card in Tracking, with the reason Port paused; the message is queued until the port runs again. Starting the port releases them, oldest first, and it carries on as normal. Stopping a paused port does not discard them: they stay held until the port is started. A held message can be suspended or terminated from Tracking, but not resumed, because starting the port is what releases it. This is the hold BizTalk operators got by stopping a send port without unenlisting it, useful during deployments, cutovers, and a destination’s maintenance hours. A stopped port is different: it is not subscribed, so nothing is routed to it and nothing waits for it.

Where you change the state. Not in the port editor. Start, Stop, Pause, and Restart are on the Actions menu of the port’s row in the ports list, the three-dot control in the ACTIONS column, and on the batch menu when several ports are ticked. The menu offers only the moves the port’s current state allows. Open a port for editing and you will not find a state control anywhere in the dialog, only the status icon beside its name in the title, so operators work from the list and builders work from the editor.

Building a port. Save Draft stores a port with nothing more than a name; a draft is invisible to the runtime, as if the port did not exist, so you can open one, go gather the details you are missing, and pick it up later. Once the required fields are filled in, Save stores the port properly, and a saved port can never return to draft. Because a stopped port does nothing on the bus, you keep configuring it, adapter settings, pipelines, maps, subscription expressions, while it is stopped, taking as long as you need, with each change stored as you make it. When it is ready, start it.

Draft name only · as if it did not exist Stopped name + Application · inert Running full validation · live on the bus Save Save & start Start Stop Paused subscribed · messages held Pause / Stop Pause / Start send, loopback, null only

What a stopped port is. Values you have entered are still validated as you save them (a port will not store an illegal value), but a stopped port may sit with its configuration incomplete.

Starting a port. Starting runs the full validation a live port requires: if anything is missing or invalid the same errors surface and the port stays stopped, with nothing lost. Once validation passes the port is live immediately, there is nothing further to deploy. Starting and stopping are reversible: stop a running port and it goes inert again, then start it again when you are ready. To bring a whole integration online, start the send ports first and the receive ports last, so a receive port never publishes to the bus before its subscribers are live; to take it offline, stop the receive ports first.

Port names follow the usual rule: a name must be unique within its Application whatever the port’s state, running, stopped, and paused ports share one namespace.

Every port, of every type, has a Service Window tab in the port editor. A window starts and stops the port on a schedule, exactly as if someone used Start and Stop on its row at those times, the port’s clock reset included: a Scheduler receive port, for example, counts its interval again from each opening. It is not BizTalk’s service window: here the port itself changes state, and you see it on the port’s status icon and in the audit trail.

It acts only on a started port. Turning the window on and saving does not start anything. Start the port from the ports list: if the window is open the port runs at once; if it is closed the port waits, its icon reads Stopped until its service window opens, and it goes live by itself at the next Start Time. At the Stop Time it stops again, or pauses on a send port set to Pause, and the cycle repeats on the schedule. Each change happens within about a second of the time set. A stopped port stays stopped whatever the window says.

FieldWhat it does
Enable Service WindowTurns the window on for this port. Under the switch a summary line reads the schedule back, for example Every day, 12:00 AM to 11:59:59 PM · Eastern Time.
When the Window ClosesSend ports only. Stop (default) or Pause, see below. Receive, loopback, and null ports always stop.
Start TimeRequired. The time of day the window opens. Default 12:00:00 AM.
Stop TimeRequired. The time of day the window closes. Default 11:59:59 PM.
Time ZoneRequired. The zone both times are read in.
Start DateRequired, defaults to today. The window never opens before it.
Stop DateOptional. After it the window never opens again: the port is left stopped and no longer follows its window.
FrequencyRequired. Daily, Weekly, or Monthly.
Repeat EveryDaily: every N days. Weekly: every N weeks. Default 1.
Days of the WeekWeekly, required. One or more days, Sunday to Saturday.
Repeat OnMonthly, required. Days of the Month, the day numbers you pick or Last Day of the Month; or Day of the Week, a Position (First, Second, Third, Fourth, Last) and a Weekday. A day number a month does not have is skipped that month, day 31 skips November, so use Last Day of the Month for month end.
MonthsMonthly. Every month, or only the months you pick.

Stop or Pause when the window closes. With Stop, the port is stopped outside the window: it is not subscribed, so nothing is routed to it while the window is closed. With Pause, a send port is paused outside the window: it stays subscribed, the messages routed to it are held, and they go out when the window opens again, see Running, stopped, and paused. Pause suits a destination that only accepts traffic during set hours; Stop suits a port that should take no part in routing outside them.

Start Time Stop Time Started port, Stop nothing routed while closed Stopped Active Stopped Started send port, Pause held while closed, sent at opening Paused Active Paused Stopped port the window does not start it Stopped

Overriding the window. A port that follows its window offers Stop (override) and Pause (override) on its row menu instead of Start; a receive port offers Stop (override) only. Either one takes the port off its window, and it stays stopped or paused until someone starts it again, which puts it back on its window. The schedule itself is kept.

Audit and snapshots. Every opening and closing is written to Audit Logs as a change to the port, with the system as the actor and the reason Opened or Closed; a change to the schedule is recorded as an edit of the port’s service window. Snapshots carry the window’s schedule, Send ports’ Stop or Pause included, and after a snapshot is applied the port follows its window again once it is started.

A port is edited in a single dialog, its title showing the port’s status icon beside its name. The sidebar starts with General and Service Window, the schedule described in Service Window, and then groups every processing stage under two headings, Solicit and Response. Each carries a direction sublabel that follows the port type, Caller → Bus / Bus → Caller on a receive port, Bus → Adapter / Adapter → Bus on a send port: Solicit is always the initiating leg, Response the return. Which way a group actually points therefore depends on which port type you are looking at, and neither name carries a direction on its own. A receive port’s Solicit side is inbound, the message is on its way onto the bus; a send port’s Solicit side is outbound, the message is on its way off it. Read the two together, port type first, every time: “the Solicit side” with no port type named does not identify a position. The four positions are set out in Components classify the Message Type. The names are grouping labels, nothing more; they were chosen over “request” because not every adapter requests anything, a Scheduler receive port solicits a tick rather than receiving a request. BizTalk veterans will recognise the term.

The General tab opens with a General Information panel holding the port’s identity: Name, Application, Port Type (the dropdown carrying Receive, Send, Loopback, and Null), the Adapter with a button beside it that opens the adapter’s own configuration dialog, and the Adapter Message Type. Below the panel sit, on a send port only, the Retry group, Count and Interval, see Retry and Throttle, then on every port that has them the Exception Message Type (covered below) and Way (One or Two). A send port also has a Throttle tab, below Service Window. There is no Tracking field and no Running/Stopped toggle in the editor: the tracking level is an Application-level setting that covers every port the Application owns, and the port’s state is changed with the Start, Stop, and Restart actions on the row’s Actions menu in the ports list, not from here. The Adapter Message Type is set here, on General, not on any stage pane, and it belongs to the port’s inbound position: a receive port always carries one, a send port carries one only in two-way mode, and loopback and null ports have no adapter and no Adapter Message Type at all. The footer carries the Save Draft and Save buttons described in the lifecycle section above.

On a receive port the Solicit stages appear, and run, in this order: Open Variables → Pipeline → Map → Close Variables. On a send port the group opens with Subscription, the home of the subscription expression, and continues Open Variables → Map → Pipeline → Close Variables, with the adapter dispatch following Close Variables. The order of the two transformation stages tracks the direction of the position, not the port type: an inbound position, meaning the message is on its way onto the bus, runs Pipeline then Map; an outbound position, meaning it is on its way off the bus towards a wire or a caller, runs Map then Pipeline. A receive port’s Solicit side and a two-way send port’s Response side are the inbound ones; a send port’s Solicit side and a two-way receive port’s Response side are the outbound ones. The Pipeline pane is a single selector, labelled Inbound Pipeline at an inbound position and Outbound Pipeline at an outbound one, defaulting to None; the Map pane is a Map Assignment panel offering None, Typed, or Universal; and Open Variables and Close Variables are lists of assignments, empty until you add one.

Typing is settled before any of that runs. At an inbound position the runtime stamps the port’s Adapter Message Type the instant the adapter hands the message to the next step inside the port; at an outbound position the message comes off the bus already carrying the type it was published under. Either way no message inside the port is ever untyped. The Pipeline then restates the type: every component sets a Message Type on every message it emits, see Components classify the Message Type. Publishing, the moment a message lands on the bus, is not a stage you configure: on a receive port it happens after Close Variables, as the final act of the flow. The Map step’s configuration and each stage’s behaviour are covered per port type in Receive port and Send port.

On a two-way receive port the Response group opens with the Subscription tab, a single required Expression field holding the Response Subscription Expression, for example {{Promoted.EDI_Initiate.TPCode}} == "123", followed by Open Variables → Map → Pipeline → Close Variables, the inbound flow mirrored.

Loopback and null ports reuse the send-port editor with the Adapter picker empty. Way is pinned, Two for a loopback, One for a null port, and the null port drops both the Response group and the Exception Message Type field.

One configuration option is independent of port type and direction and applies equally to receive, send, and loopback ports, the Exception Message Type; a null port’s editor has no Exception Message Type field at all. Tracking also applies to every port, but it is not configured on one: the level is set on the Application and governs all of its ports, including null ports.

Exceptions. Exceptions are configured by setting the port’s Exception Message Type. On error, the in-flight message's Message Type is swapped to the exception Message Type and republished to the bus, the payload itself is untouched. Subscribe to that Message Type from another port to handle the failure centrally (a send port that emails an alert, writes to a log, files a ticket). Error traffic flows on its own Message Type rather than mixed in with the original.

WITHOUT EXCEPTION MT Port processing a message error TRACKING STATUS Errors No handoff. Run fails outright. WITH EXCEPTION MT Port processing a message SWAP MT Original → Exception payload unchanged Bus HANDLER PORT Subscribed to Exception MT DELIVERY Email / Log / Ticket TRACKING STATUS Exceptions On Tracking: configured exception → Exceptions status; no exception path → Errors.

Tracking. Not a port setting. The level is chosen once on the Application and applies to every port it owns, so an Application’s runs are recorded at one uniform level end to end on the Tracking screen. Three Tracking values, plus an Include Body switch that decides whether message bodies are kept:

Disabled EVERY RUN Nothing persisted no history kept Only on Error SUCCESSFUL RUN Nothing persisted FAILED RUN Run record Full step history Body, if Include Body is on Enabled EVERY RUN Run record Full step history Body, if Include Body is on Fullest view most storage with Include Body on

A separate, minimal internal tracking is always on for the runtime dashboard (running and suspended transactions), it does not depend on the Application’s tracking level and it is not something you switch on or off anywhere. Mind the cost tradeoff: every tracked step writes to the tracking database and is subject to retention and reindexing jobs.

Send, loopback, and null ports each carry a subscription expression, a Boolean filter the bus evaluates against every published message. Two-way receive ports use one as well, the Response Subscription Expression, to identify which message on the bus is the response to send back to the caller through that same port.

Pub/sub. When a message hits the bus, every send, loopback, and null port has its expression evaluated. Every match gets its own copy and runs its outbound flow independently. The same message can be picked up by any number of ports, or by none.

PUBLISHED BY A RECEIVE PORT Message, MT: OrderCreated Bus (evaluates every subscription expression on every publish) SEND Orders → ERP {{Message.MessageType}} == "OrderCreated" ✓ MATCH LOOPBACK Enrich + reshape {{Promoted.Order.Region}} == "EU" ✓ MATCH SEND Returns → CRM {{Message.MessageType}} == "ReturnCreated" – NO MATCH NULL Suppress test traffic {{Variable.Env}} == "qa" ✓ MATCH

Message Type. Every message on the bus carries a Message Type, a string identifier, similar in concept to BizTalk's. Subscription expressions most commonly match on it, but can evaluate any of six sources:

MESSAGE TYPE {{Message.MessageType}} String identifier on every message PROMOTED {{Promoted.MessageType.Name}} Property on the message type VARIABLE {{Variable.Name}} Application variables CONFIG {{Config.PortName}} Originating port name BODY PATH {{Message.Body}}.XPath() Read from the body via XPath or JPath CUSTOM FN {{Function.fnName}} User-defined predicate

Value, NULL, or absent. When a subscription evaluates a promoted value, that value has three states, and the expression grammar can test each of them separately. This matters whenever the promoted field is optional in the payload, because a plain value comparison against a promotion that never resolved just fails to match, telling you nothing about why.

ExpressionMatches when
{{Promoted.MessageType.Name}} == "myValue"The promotion resolved and its value equals myValue.
{{Promoted.MessageType.Name}} == NULLThe promotion resolved but carries no value. An absent promotion does not match. NULL is a keyword, written unquoted.
Exists({{Promoted.MessageType.Name}})The promotion resolved, regardless of the value it holds, NULL included.
!Exists({{Promoted.MessageType.Name}})The promotion did not resolve on this message.

A common shape is a pair of ports that split an optional field between them, one handling the messages that carry it and one catching the rest, so nothing falls through unrouted:

EXPRESSION
Exists({{Promoted.Order.Region}})     <- regional handler
!Exists({{Promoted.Order.Region}})    <- default handler

Exists takes a single token and returns a Boolean, so it combines with the rest of the grammar like any other predicate, and ! negates it.

For the complete binding-token reference, every family above plus Constants, and where each is used, see Expressions & bindings.

That is the full set of ports

Receive brings messages in. Send takes them out. Loopback transforms and republishes without leaving. Null consumes and discards. Explore each in detail: Receive port, Send port, Loopback port, Null port.