Sets the message token. The data length of token must be either zero or MQ_MSG_TOKEN_LENGTH.
This method returns TRUE if successful.
void setMessageToken( const MQBYTE16 token = 0 );
Sets the message token. token can be
zero, which is the same as specifying MQMTOK_NONE. If token is nonzero,
then it must address MQ_MSG_TOKEN_LENGTH bytes of binary data.
When using
predefined values, such as MQMTOK_NONE, you might not need to make a cast
to ensure a signature match, for example (MQBYTE *)MQMTOK_NONE.
MQLONG options( ) const ;
Returns the options.
void setOptions( const
MQLONGoptions );
Sets the options, including the syncpoint participation value.
ImqString resolvedQueueName( ) const ;
Returns a copy of the resolved queue name.
MQLONG returnedLength( ) const;
Returns the returned length.
MQCHAR segmentation( ) const ;
Returns the segmentation.
void setSegmentation( const MQCHARvalue );
Sets the segmentation.
MQCHAR segmentStatus( ) const ;
Returns the segment status.
void setSegmentStatus( const MQCHARstatus );
Sets the segment status.
ImqBoolean syncPointParticipation( ) const ;
Returns the syncpoint participation value, which
is TRUE if the options include either MQGMO_SYNCPOINT
or MQGMO_SYNCPOINT_IF_PERSISTENT.
Sets the syncpoint participation value. If sync is TRUE, alters the options to include MQGMO_SYNCPOINT,
and to exclude both MQGMO_NO_SYNCPOINT and MQGMO_SYNCPOINT_IF_PERSISTENT.
If sync is FALSE, alters the options to include
MQGMO_NO_SYNCPOINT, and to exclude both MQGMO_SYNCPOINT and MQGMO_SYNCPOINT_IF_PERSISTENT.