Skip to content

Commit 13e26db

Browse files
committed
Update Nexus messaging samples with signal backlinks
1 parent a73ba15 commit 13e26db

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

  • core/src/main/java/io/temporal/samples/nexusmessaging

core/src/main/java/io/temporal/samples/nexusmessaging/callerpattern/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,20 @@ The caller Workflow:
1515

1616
### Running
1717

18-
Start a Temporal server:
18+
Start the [Temporal dev server build that supports standalone Nexus operations](https://docs.temporal.io/standalone-nexus-operation#temporal-cli-support)
19+
with the required namespaces pre-created and signal backlinks enabled:
1920

2021
```bash
21-
temporal server start-dev
22+
./temporal server start-dev \
23+
--dynamic-config-value history.enableCHASMSignalBacklinks=true \
24+
--namespace nexus-messaging-handler-namespace \
25+
--namespace nexus-messaging-caller-namespace
2226
```
2327

24-
Create the namespaces and Nexus endpoint:
28+
Create a Nexus endpoint that routes to the handler namespace and the handler worker's task queue:
2529

2630
```bash
27-
temporal operator namespace create --namespace nexus-messaging-handler-namespace
28-
temporal operator namespace create --namespace nexus-messaging-caller-namespace
29-
30-
temporal operator nexus endpoint create \
31+
./temporal operator nexus endpoint create \
3132
--name nexus-messaging-nexus-endpoint \
3233
--target-namespace nexus-messaging-handler-namespace \
3334
--target-task-queue nexus-messaging-handler-task-queue

core/src/main/java/io/temporal/samples/nexusmessaging/ondemandpattern/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,20 @@ The caller Workflow:
1515

1616
### Running
1717

18-
Start a Temporal server:
18+
Start the [Temporal dev server build that supports standalone Nexus operations](https://docs.temporal.io/standalone-nexus-operation#temporal-cli-support)
19+
with the required namespaces pre-created and signal backlinks enabled:
1920

2021
```bash
21-
temporal server start-dev
22+
./temporal server start-dev \
23+
--dynamic-config-value history.enableCHASMSignalBacklinks=true \
24+
--namespace nexus-messaging-handler-namespace \
25+
--namespace nexus-messaging-caller-namespace
2226
```
2327

24-
Create the namespaces and Nexus endpoint:
28+
Create a Nexus endpoint that routes to the handler namespace and the handler worker's task queue:
2529

2630
```bash
27-
temporal operator namespace create --namespace nexus-messaging-handler-namespace
28-
temporal operator namespace create --namespace nexus-messaging-caller-namespace
29-
30-
temporal operator nexus endpoint create \
31+
./temporal operator nexus endpoint create \
3132
--name nexus-messaging-nexus-endpoint \
3233
--target-namespace nexus-messaging-handler-namespace \
3334
--target-task-queue nexus-messaging-handler-task-queue

0 commit comments

Comments
 (0)