Messaging and events
JMS · browse then request / reply
Inspect a queue without consuming it, then use a separate approved JMS connection to request a correlated reply. A timeout never automatically resends the request.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
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.
Scroll sideways to see the whole flow.
List the 5 activities and 4 transitions
Activities
- Start
start - Browse orders without acknowledging
jms.browse - Request pricing through a temporary reply queue
jms.request_reply - Parse the JSON reply
json.parse - End
end
Transitions
- Start → Browse orders without acknowledging (on success)
- Browse orders without acknowledging → Request pricing through a temporary reply queue (on success)
- Request pricing through a temporary reply queue → Parse the JSON reply (on success)
- Parse the JSON reply → End (on success)
Walkthrough
- Browse orders without acknowledgingInspect up to 100 TextMessages without consuming or acknowledging. Not a consistent queue snapshot.
- Request pricing through a temporary reply queueSend a request with JMSReplyTo set to a private temporary queue, await a correlated reply, then acknowledge it. Timeout never resends.
- Parse the JSON replyParse strict JSON; reject duplicate keys, NaN and Infinity.
What you will practise
- Inspect a queue without consuming it, then use a separate approved JMS connection to request a correlated reply. A timeout never automatically resends the request.
- Shared connection IDs stay explicit. Simulation uses fixtures; live actions require operator approval.
Sample cases
1 case with 3 assertions, run with python -m server.integration examples --all in simulation.
End-to-end sample
PassedExecute the actual flow with explicit external fixtures.
Expected result Every activity completes and the expected final result matches.
3/3 assertions
- Flow completes
- Final output
- No unconfirmed receipts
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- Manual start; no listener.
- Optional dependencies
- Java 17+, the included JMS bridge and your provider's JMS JARs (not bundled) needed only for live connections; simulation uses fixtures
- Simulation fixtures
orders_busjms · jms.browsepricing_busjms · jms.request_reply
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
2c8a08a80829f1a1e5f10adc5a515281ee0df9b356a12890f9fbda38c9fee08f- Closure SHA-256
2a61540dcaaafa3ab20b58f3e50938778ee08011ad8b3a2f7dff41ffac085cb1- 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_request_reply_lab.jsonserver/integration/templates/jms_request_reply_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_request_reply_lab PYTHONPATH=. python scripts/export_public_gallery.py --check