Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.53 KB

CHAPTER3.md

File metadata and controls

56 lines (34 loc) · 1.53 KB

Java SDK Workshop - Chapter 3 - Workflow, Activity Types, ContinueAsNew, Client error handling and more

Section 1

Workflow, activity types, signal and query names

  • Types represent a unique identification of workflow and activity definitions with a single worker.

  • Signal and Query names tie signals/queries with signal/query handlers.

  • Unique workflow/activity types can be registered with single worker.

  • Unique signal/query names are allowed in signal workflow definition.

  • Workflow and activity types play important role in invoking them.

  • Code in package c3s1

Section 2

Typed and Untyped stubs

  • Workflow stubs

  • Activity stubs

  • Child workflow stubs

  • Code in package c3s2

Section 3

Dynamic signals and queries with typed stubs

Shows how to dynamically add signals and queries not exposed via workflow interface

  • Code in package c3s3

Section 4

Client errors and setting up SSL/mTLS

  • Catching client errors

  • Setting up SSL (mTLS)

  • For adding mTLS support on server see samples repo here.

  • Code in package c3s4

Section 5

ContinueAsNew and signals

Demo on sending signals while workflow is doing continueAsNew

  • Code in package c3s5