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:

  1. Keep business logic in PURISTA — commands, subscriptions, and queues
  2. Use adapters for orchestration — Temporal workflows, enterprise gateways, schedulers
  3. Pass only typed data — schemas define what crosses the boundary

Available integrations

IntegrationPurposePattern
TemporalDurable workflows, saga orchestration, long-running processesTemporal calls PURISTA commands; PURISTA emits events Temporal subscribes to
Enterprise InteroperabilityAsync agent queues, scheduling, result events, exportsBridge 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:

PatternUse case
Async agent queuesBridge PURISTA queues to enterprise MQ systems
SchedulingTime-based job triggering from external schedulers
Result eventsPublish PURISTA command results to enterprise topics
ExportsExport service definitions and schemas for enterprise governance
Long-running queuesDurable queue workers that survive restarts and retries

Next steps