-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
According to spec, an operation can send/receive a subset of messages that are defined in the channel.
Proposed changes:
- A compiler must check, if
operation.{{op}}.messages
oroperation.{{op}}.reply.messages
exists - If they do not exist, the compilation process goes as it did before
- If they exist, compiler must assert that the messages are indeed a subset of the corresponding channels' messages
- Generated producers must only take this subset of messages as argument. Any other message type is prohibited.
- Receiving side must reject the message, if it violates channel message constraints, but nack all messages that do not violate channel constraints, but violate operation ones.
- If multiple operations consume from the same channel, all operations must confirm that they do not support this message before the nack process occurs.
Metadata
Metadata
Assignees
Labels
No labels