Hi,
Do the activity stub needs to be instantiated every time for each workflow or different workflow can share the same object ?
Hi,
Do the activity stub needs to be instantiated every time for each workflow or different workflow can share the same object ?
ActivityStub is per workflow instance, so they cannot be shared.
The recently added (not yet released as of 4/27) support for setting activity options through WorkflowImplementationOptions reduces the need for sharing.