Question 1
AMS only encrypts the payload, however this payload can include headers depending on what you mean by "headers". The MQMD is not encrypted, but other headers that might be inside the message body, such as a PCF header, or a CICS header would be encrypted. Message properties are also not encrypted.
The picture on this page of a SlideShare presentation might hep visualise it.
Secure Your Messages with IBM MQ Advanced Message Security
| SlideShare |
remove preview |
 |
| Secure Your Messages with IBM MQ Advanced Message Security |
| Slide 34 of 46 of Secure Your Messages with IBM MQ Advanced Message Security |
| View this on SlideShare > |
|
|
Question 2
In the chain you suggest, the middle queue manager does not have to support AMS. There are no profiles set up on the queues in the middle queue manager, the profiles are all set up on the first and third queue managers, so therefore no applications will connect to the middle queue manager and ask to put to a policy protected queue.
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
------------------------------