cwbDQ_SetSenderID
Use the cwbDQ_SetSenderID command.
Purpose
Set the attribute for whether information about the sender is kept with each record on the queue.
Syntax
unsigned int CWB_ENTRY cwbDQ_SetSenderID(
cwbDQ_Attr queueAttributes,
cwb_Boolean senderID);
Parameters
- cwbDQ_Attr queueAttributes - input
- Handle of the data queue attributes returned by a previous call to cwbDQ_CreateAttr.
- cwb_Boolean senderID - input
- Boolean indicator of whether information about the sender is kept with record on the queue.
Return Codes
The following list shows common return values.
- CWB_OK
- Successful completion.
- CWBDQ_INVALID_ATTRIBUTE_HANDLE
- Invalid attributes handle.
Usage
None