BizTalk L2 Container Diagram Example
Section titled “ BizTalk L2 Container Diagram Example”This BizTalk container diagram is the L2 view of the BizTalk example set. It zooms into BizTalk Server from the L1 Context example and shows the application picture: the runtime building blocks and the message flows between them.
The goal is architectural clarity: how Receive Locations, Orchestrations, Send Port Groups, and Send Ports collaborate. It follows the layout the BizTalk C4 wizard generates. Copy the C4Container markup below and follow Import Your First C4 Diagram to import it into a C4 Diagram Set. See C4 Diagrams for the concepts.
New 7.12 An L2 shows the inside of one System, its Architectural Scope:
- The
System_Boundarynamed BizTalk Server is the subject boundary. The import wizard takes the scope from it when its name matches a System. The L1's import creates that System (Before you import); on a Repository without it, the Scope step offers Use the System this import creates: BizTalk Server. In the Designer its binding is derived from the scope and read-only. - Each receive location, orchestration, send port group, and send port is a
Containerthat binds to a Service or a Contract, never to a System. Resolve All creates a Service of BizTalk Server for each one without a match, such as INT1337-ORC-Order-Processing and INT1337-SPG-Order-Distribution. - The Portal and the other business systems are drawn outside as
System_Extand bind to their Systems. - The generic Layer boundaries (Ingress Messaging, Processing and Orchestration, Egress Messaging) and each receive port's Receive Port boundary are groupings. Resolve All creates a Domain for each; to keep one an unbound grouping, as the BizTalk C4 wizard draws them, choose Leave unbound on its row.

Animated walkthrough, after the L1 example is imported: the wizard takes the scope from the BizTalk Server boundary, six Services match, and the diagram BizTalk Server - Container View opens.

An L2 Container diagram of BizTalk Server imported into Nodinite, with its containers grouped in boundaries.
Example Diagram
Section titled “Example Diagram”| Preview | Mermaid Code |
|---|---|
|
C4Container
title BizTalk Server - Container View
Person_Ext(customer_user, "Customer", "Submits orders and receives status")
System_Ext(portal, "Portal", "Customer-facing order capture and confirmation")
System_Boundary(biztalk_hub, "BizTalk Server") {
Boundary(ingress, "Ingress Messaging", "Layer") {
Boundary(rp_order, "Receive Port - INT1337-Order-Incoming", "Receive Port") {
Container(biztalk_receive, "INT1337-RCV-Order-Incoming", "FILE", "Receive Location on port INT1337-Order-Incoming")
}
Boundary(rp_delivered, "Receive Port - INT1337-Order-Delivered", "Receive Port") {
Container(dlv_delivered, "INT1337-RCV-Order-Delivered", "FILE", "Receive Location on port INT1337-Order-Delivered")
}
}
Boundary(processing, "Processing and Orchestration", "Layer") {
Container(biztalk_orch, "INT1337-ORC-Order-Processing", "XLANG/s", "Stateful process orchestration")
}
Boundary(egress, "Egress Messaging", "Layer") {
ContainerQueue(spg_order, "INT1337-SPG-Order-Distribution", "Send Port Group", "Fans the processed order out to its send ports")
Container(biztalk_send, "INT1337-SND-Confirm-Outgoing", "SOAP", "Send Port")
Container(pln_scheduled, "INT1337-PLN-Order-Scheduled", "FILE", "Send Port")
Container(pkg_packed, "INT1337-PKG-Order-Packed", "REST", "Send Port")
Container(inv_invoiced, "INT1337-INV-Order-Invoiced", "SOAP", "Send Port")
}
}
System_Ext(erp, "ERP", "Order and inventory domain")
System_Ext(wms, "Warehouse Management System", "Fulfillment domain")
System_Ext(erp_finance, "ERP-Finance", "Invoice and payment domain")
System_Ext(payment_gateway, "Payment Gateway", "Processes customer credit card payments")
SystemQueue_Ext(edi_gateway, "EDI Gateway", "B2B document exchange")
Rel(customer_user, portal, "Place order", "HTTPS, JSON")
Rel(portal, biztalk_receive, "Drop the order file", "FILE")
Rel(biztalk_receive, biztalk_orch, "Publish the order", "XML / O2C.Order.Received/1.0")
Rel(biztalk_orch, biztalk_send, "Publish the confirmation", "XML")
Rel(biztalk_send, portal, "Return the order confirmation", "SOAP")
Rel(biztalk_orch, spg_order, "Publish the processed order", "XML")
Rel(spg_order, pln_scheduled, "Subscribe", "XML")
Rel(spg_order, pkg_packed, "Subscribe", "XML")
Rel(pln_scheduled, erp, "Schedule production", "FILE")
Rel(pkg_packed, wms, "Request packing", "REST")
Rel(wms, dlv_delivered, "Confirm delivery", "FILE")
Rel(dlv_delivered, inv_invoiced, "Publish the delivery", "PSV / O2C.Order.Delivered/1.0")
Rel(inv_invoiced, erp_finance, "Create invoice", "SOAP")
Rel(inv_invoiced, payment_gateway, "Request payment", "REST")
BiRel(inv_invoiced, edi_gateway, "Exchange invoice documents", "AS2")
|
|
Component Type Highlights
Section titled “Component Type Highlights”- Integration runtime components: Receive Locations, Orchestrations, Send Ports
- Send port group: drawn as a
ContainerQueue - Groupings: the Layer boundaries and one Receive Port boundary per receive port, Domains or unbound (Leave unbound)
Import-Friendly Notes
Section titled “Import-Friendly Notes”- Integration technologies are explicit (for example
XLANG/s,SOAP,REST,FILE) to improve classification hints. - New 7.12 The subscription Flows out of the receive locations carry the published Message Type after
/, such asXML / O2C.Order.Received/1.0. The import resolves that text by exact name; other technologies are protocols only. - The BizTalk MessageBox, the Tracking Database, maps, pipelines, and file shares are not on the L2. Maps and pipelines belong on the L3 of the Service that uses them, and an address (such as a file share) is an Endpoint on that L3. Platform databases have no Service; if you draw them, they stay unbound and Diagram Assistance flags them with the hint Unbound element.
- New 7.13 Routes through the MessageBox are drawn as direct Flows instead: the BizTalk wizard adds an Activation filter Flow from receive locations to the direct-bound orchestration they start, and a Publishes via MessageBox Flow from an orchestration to its subscriber (dashed Likely publishes when only a property match links them).