Project: talendesb
Issue TESB-4211: Make MessageID transfer be configurable in the SAM agent side
Currently, SAM agent will add WS-Addressing funtionality implicitly and enforce MessageID transfer between the sam Message. This is not good we should give the uses opportunity to make their decision. Adding a new property in the configure file of SAM agent: enforceMessageIDTransfer = true/false if user set enforceMessageIDTransfer=true (Default value), SAM will add addressing interceptors to the endpoint/client. then the MessageIDs will be gotten and the MessageID from REQ_OUT and REQ_IN (also from RESP_OUT and RESP_IN) will be the same value. (the detectWSAddressing logical still will be preserved); if user set enforceMessageIDTransfer=false, SAM will do nothing. then the MessageID field will be null in the Events if the user doesn't enable the WSAddressingFeature or Policy with Addressing explicitly. Test case, documentations, maybe Systest codes from QA also need to be changed along with this CR.
Story points: 3