Tutorial: Build a transactional integration
Build one transactional integration from empty send steps to a running System.
A Transactional Integration is one Component that moves messages from one source to one destination through its own internal queue. Its receive side sweeps the source, publishes each file to the queue, and deletes the file once it is on the queue; its send pipeline delivers the message from the queue to the destination. Conceptually it is similar to a BizTalk receive port, MessageBox, and send port in one deployable unit.
The framework owns the receive side. You scaffold the Component, implement the send pipeline, run the tests, create the host, and add idempotency and business incidents.
This tutorial is written for intropy CLI 2.1.1 and intropy-templates 2.0.0. A workspace scaffolded with CLI 1.x needs CLI 1.0.1 and --template-version v1.0.3; see Workspaces created before CLI 2.0.
What you’ll build
Section titled “What you’ll build”A Transactional Integration that moves orders from a source folder to a destination folder through one Component.
Inside the Component, the framework’s receive side feeds the internal queue and your send pipeline drains it:
The receive side is framework code. You write the send steps: deserialize, extract, validate, transform, serialize, send.
The chapters
Section titled “The chapters”Each chapter ends with a command you can run.
- Scaffold the component — create the empty Component and inspect the failing tests
- The model and the Deserializer — define the message and context values
- Extract, validate, transform — implement the business steps
- Serialize, send, and run — finish the pipeline and run the host
- Idempotency and business incidents — wire deduplication and incident routing