Class ProcessInstanceUpdateConsumer
java.lang.Object
io.taktx.client.ProcessInstanceUpdateConsumer
This class is responsible for managing the subscription to external tasks for all process
definitions.
-
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceUpdateConsumer(io.taktx.util.TaktPropertiesHelper taktPropertiesHelper, Executor executor) Constructor for ProcessInstanceUpdateConsumer. -
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters a consumer that will be notified of instance update records.voidstop()Stops the consumer from processing further records.
-
Constructor Details
-
ProcessInstanceUpdateConsumer
public ProcessInstanceUpdateConsumer(io.taktx.util.TaktPropertiesHelper taktPropertiesHelper, Executor executor) Constructor for ProcessInstanceUpdateConsumer.- Parameters:
taktPropertiesHelper- the TaktPropertiesHelper to use for configurationexecutor- the Executor to use for asynchronous processing
-
-
Method Details
-
registerInstanceUpdateConsumer
Registers a consumer that will be notified of instance update records.- Parameters:
consumer- the consumer to register
-
stop
public void stop()Stops the consumer from processing further records.
-