Start building

Event starters

JMS starter · process then confirm

Start a saved process from JMS. Gallery simulation supplies an event envelope directly and does not activate a listener or contact external systems. Export and explicitly activate the configured starter on approved infrastructure.

  • JMS → JSON
  • Intermediate
  • 5 min

Last verified 2026-10-31 at f4ce7d0 — simulation fixtures

Try this template in Studio

Studio activation is a one-time payment of USD 20.

Flow

Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.

Main processJMS starter · process then confirm4 activities

Scroll sideways to see the whole flow.

Flow diagram of JMS starter · process then confirm4 activities and 3 transitions: JMS starter · process then confirm, Parse event body, Normalize order result, Validated business result.JMS starter · processthen confirmstart1Parse event bodyjson.parse2Normalize order resultdata.mapper3Validated businessresultend
List the 4 activities and 3 transitions

Activities

  1. JMS starter · process then confirm start
  2. Parse event body json.parse
  3. Normalize order result data.mapper
  4. Validated business result end

Transitions

  • JMS starter · process then confirm → Parse event body (on success)
  • Parse event body → Normalize order result (on success)
  • Normalize order result → Validated business result (on success)

Walkthrough

  1. JMS starter · process then confirmChoose the source on the existing Start node, not a second receiver inside the process.
  2. Parse event bodyPreview and map the event envelope. Test the business flow with a supplied event without connecting to a broker.
  3. Normalize order resultSaving does not subscribe. Continuous sources require explicit live activation and durable journals; REST is served by the application runtime.

What you will practise

  • Choose the source on the existing Start node, not a second receiver inside the process.
  • Preview and map the event envelope. Test the business flow with a supplied event without connecting to a broker.
  • Saving does not subscribe. Continuous sources require explicit live activation and durable journals; REST is served by the application runtime.

Sample cases

1 case with 3 assertions, run with python -m server.integration examples --all in simulation.

Sample Event

Passed

The real process engine runs with supplied sample input. Code and external operations use explicit fixtures in gallery simulation.

Expected result Verify the mapped output, successful completion and zero pending simulated receipts.

3/3 assertions

  • Scenario completes
  • Expected business result
  • No pending simulated messages

This sample run only; not a production certification.

Prerequisites

Runtime
Cohuno runtime 1.27.0, the version recorded when these cases last passed.
Starter
JMS listener on connection jms_demo. The gallery never activates it; sample runs pass the case input directly.
Optional dependencies
  • Java 17+, the included JMS bridge and your provider's JMS JARs (not bundled) needed only for live connections; simulation uses fixtures
Selected for this closure by the same rules as runtime packaging.
Simulation fixtures
No activity uses a connector. The starter's connection jms_demo is never opened in simulation; sample runs pass the case input directly.
Verification details

Provenance

What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.

Verified content

Pack SHA-256
8feea29e72776bee0fa90d6bff41081701daaeba871def348dcd27c0c237a267
Closure SHA-256
2040b87251dc6439172a7fdb3b39496dee01af5cc59b081fa802fa69e0204fa7
Runtime
1.27.0
Results
1/1 cases, 3/3 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/jms_starter_lab.json
  • server/integration/templates/jms_starter_lab.json

Verification event

Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34
Verified at (UTC)
2026-10-31T21:19:21Z

How the Cohuno team reproduces this check

PYTHONPATH=. python -m server.integration examples --example jms_starter_lab
PYTHONPATH=. python scripts/export_public_gallery.py --check