This wiki has undergone a migration to Confluence found Here
Constrain Transmission Wrapper
Jump to navigation
Jump to search
The current message and transmission layer seems to mix transmission and "how to interpret/process" information. Examples of the latter include:
- Message.profileId - Indicates how to validate the instance. Can influence receiver behavior
- Message.processingCode - Indicates how the instance is to be treated
- Message.processingModeCode - Indicates how the instance is to be treated
- Message.responseCode - Indicates the type of response desired at the application level
- Message.attachmentText - Contains information referenced by the message
- Transmission.responseModeCode - Indicates the type of response desired at the application level
- Transmission.versionCode - Indicates how to vaoidate the interactions, allows confirmation of "can I process this?"
- Transmission.interactionId - Indicates how to validate the interaction, allows confirmation of "can I process this?" and determines receiver behavior
Possible solutions include:
1. Moving some/all of these attributes to ControlAct (which would actually have to be a deprecate and copy
- Advantages - ControlAct is already understood and in place
- Disadvantages - This information relates to the Interaction, while ControlAct really Describes the trigger event. Also, ControlAct is used to convey history, where these attributes aren't terribly relevant
2. Adding an additional class to deal with this information
- Advantages - Addresses disadvantages above
- Disadvantages - It adds yet another layer