Skip to content

Commit b80aacf

Browse files
committed
Make task queue optional in Nexus SAA sample
1 parent 8a81162 commit b80aacf

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎core/src/main/java/io/temporal/samples/nexusstandaloneactivity/handler/GreetingNexusServiceImpl.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public class GreetingNexusServiceImpl {
3030
// Use a business identifier from the operation input so callers can identify
3131
// the same Activity independently of any individual Nexus request.
3232
.setId(getActivityId(input))
33-
// The task queue is required. This sample runs the Activity on the same queue
34-
// as the Nexus Worker that is handling this operation.
35-
.setTaskQueue(Nexus.getOperationContext().getInfo().getTaskQueue())
3633
.setStartToCloseTimeout(Duration.ofSeconds(10))
3734
.build()));
3835
}

0 commit comments

Comments
 (0)