setCommandStream

Sets the command stream in the domain event exchange attributes. This allows the command stream to be associated with the domain event for later retrieval.

Return

The domain event exchange with the command stream attribute set.

Parameters

commandStream

The command stream to set.