Message-level security facilitates the protection of message data between an initiating and receiving WebSphere MQ Everyplace application. Message-level security is an application layer service. It requires the initiating WebSphere MQ Everyplace application to create a message-level attribute and provide it when using putMessage() to put a message to a target queue. The receiving application must setup an appropriate, 'matching', message-level attribute and pass it to the receiving queue manager so that the attribute is available when getMessage is used to get the message from the target queue.
Like local security, message-level security exploits the application of an attribute on a message (MQeFields object descendent). The initiating application's queue manager handles the application's putMessage() with the message dump function, which invokes the (attached) attribute's encodeData() function to protect the message data. The receiving application's queue manager handles the application's getMessage() with the message's 'restore' function which in turn uses the supplied attribute's decodeData() function to recover the original message data.