requireClose

When set to true, the initiated party will send a close message after calling FlowSession.close() and the initiating party will suspend and wait to receive the message when they call FlowSession.close(). When set to false the session is marked as terminated immediately when close() is called. Default value is true.

Return

Builder.

Parameters

requireClose

Flag that indicates whether close message is required.