Resonate External System Of Record Pattern Java

Maintain consistency between a Resonate Java workflow and an external system that owns the truth — a database, ledger, or third-party API — without distributed transactions, by wrapping every interaction in its own idempotent ctx.run step so the durable promise records the result and replay never re-fires the external call. Uses type-keyed dependency injection (r.withDependency / ctx.getDependency) to reach the SoR client, and idempotency keys derived from ctx.info().id(). Verified against develop/java.mdx (docs PR

resonatehq Updated

File contents

resonatehq/resonate-skills/tree/main/resonate-external-system-of-record-pattern-java commit b604b22ca9

Frequently asked questions

npx skillmds@latest add resonatehq/resonate-external-system-of-record-pattern-java