Integrations
PURISTA focuses on business logic and message-driven architecture. For orchestration, scheduling, and enterprise interoperability, integrate with specialized tools rather than building everything in-house.
Integration philosophy
flowchart TB
subgraph PURISTA["PURISTA Services"]
C1["Commands"]
S1["Subscriptions"]
Q1["Queues + Workers"]
end
subgraph External["External Systems"]
T["Temporal"]
E["Enterprise Bus"]
SCH["Scheduler"]
end
PURISTA <-->|messages| External
The integration pattern is always the same:
- Keep business logic in PURISTA — commands, subscriptions, and queues
- Use adapters for orchestration — Temporal workflows, enterprise gateways, schedulers
- Pass only typed data — schemas define what crosses the boundary
Available integrations
| Integration | Purpose | Pattern |
|---|---|---|
| Temporal | Durable workflows, saga orchestration, long-running processes | Temporal calls PURISTA commands; PURISTA emits events Temporal subscribes to |
| Enterprise Interoperability | Async agent queues, scheduling, result events, exports | Bridge between PURISTA and enterprise messaging systems |
Temporal + PURISTA
Temporal handles complex orchestration — retries, timeouts, compensations, and human-in-the-loop steps. PURISTA handles the business operations.
sequenceDiagram
participant T as Temporal Workflow
participant P as PURISTA
participant EB as Event Bridge
T->>P: command: reserveInventory
P->>EB: event: inventoryReserved
T->>P: command: processPayment
P->>EB: event: paymentProcessed
T->>P: command: createOrder
P->>EB: event: orderCreated
T->>P: command: confirmShipment
If processPayment fails, Temporal’s saga pattern triggers compensations — like releasing the reserved inventory — without any retry logic in your business code.
See Temporal and PURISTA for setup and examples.
Enterprise interoperability
For organizations with existing messaging infrastructure:
| Pattern | Use case |
|---|---|
| Async agent queues | Bridge PURISTA queues to enterprise MQ systems |
| Scheduling | Time-based job triggering from external schedulers |
| Result events | Publish PURISTA command results to enterprise topics |
| Exports | Export service definitions and schemas for enterprise governance |
| Long-running queues | Durable queue workers that survive restarts and retries |
Next steps
- Temporal and PURISTA — durable workflow orchestration
- Enterprise Interoperability — integrate with existing infrastructure