helsenorge / Helsenorge.Messaging

Biblioteket implementerer basisbehovet for meldingsutveksling innenfor norsk helsesektor ved bruk av AMQP-protokollen
https://nhn.no/
MIT License
29 stars 31 forks source link

Extracting data from payload and adding them as amqp properties #600

Closed thorhalvor closed 10 months ago

thorhalvor commented 10 months ago

Feature added to improve auditing and tracing Important none-sensitive properties are extracted from the payload and added as amqp application properties. This makes tracing MessageIds alot easier and also open for correlation between businessdocument and application receipt

thorhalvor commented 10 months ago

Data extracted for the different type of message:

Hodemelding Apprec Other
X-MessageInfo-Type * *
X-MessageInfo-MsgId * *
X-MessageInfo-RefToParent *
X-MessageInfo-RefToConversation *
X-MessageInfo-SchemaNamespace * * *
X-MessageInfo-OriginalMsgId *
X-MessageInfo-OriginalMsgType *
X-Sender-Lvl1Id * *
X-Sender-Lvl2Id * *
X-Receiver-Lvl1Id * *
X-Receiver-Lvl2Id * *
X-AttachmentInfo-Count * *
X-AttachmentInfo-TotalSizeInBytes * *
X-AttachmentInfo-HasExternalReference * *
MartinTGD commented 10 months ago

please fix the last warnings and review my comment. Other than that it looks good