2.2.2.7 MQPRIVLEVEL

The MQPRIVLEVEL enumeration defines values that indicate whether an ApplicationQueue accepts only encrypted messages. Encrypted messages are Messages for which the PrivacyLevel value indicates that the message was encrypted during the message transfer process.

 typedef enum 
 {
   MQ_PRIV_LEVEL_NONE = 0,
   MQ_PRIV_LEVEL_OPTIONAL = 1,
   MQ_PRIV_LEVEL_BODY = 2
 } MQPRIVLEVEL;

MQ_PRIV_LEVEL_NONE:  The ApplicationQueue only accepts Messages for which the PrivacyLevel value, as defined by the MQMSGPRIVLEVEL enumeration section 2.2.2.15, indicates that the message was NOT encrypted during the message transfer process.

MQ_PRIV_LEVEL_OPTIONAL:  The ApplicationQueue does not restrict Messages according to their PrivacyLevel value.

MQ_PRIV_LEVEL_BODY:  The ApplicationQueue accepts only Messages for which the PrivacyLevel value (as defined by the MQMSGPRIVLEVEL enumeration) indicates that the message was encrypted during the message transfer process.

Used by:

The MQPRIVLEVEL enumeration values correspond to the enumeration values for Queue.PrivacyLevel, as shown in the following table:

MQPRIVLEVEL

Queue.PrivacyLevel

MQ_PRIV_LEVEL_NONE

None

MQ_PRIV_LEVEL_OPTIONAL

Optional

MQ_PRIV_LEVEL_BODY

Body