Message 訊息(消息) – 介紹

message – 消息或是訊息,無處不在。Inter-process communication(IPC)中有用shared memory的方式,也有的使用message passing的方式,在物件導向的世界裡物件接收與發送訊息(對應程式語言中method的呼叫),event driven的程式開發模型更是把訊息當成主角。事實上,我們甚至可以用訊息的觀點(或是模型)來理解這個世界,一切的人事物交互作用都是通過訊息來完成。

message一般可以用header + body(payload)來理解,message header所帶的是與資料內容以外的資訊(如metadata, message property),而body帶的是資料本身。

This entry was posted in MOM. Bookmark the permalink.

Leave a Reply