Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Consumer : tibemsMsgConsumer : tibemsMsgConsumer_Close

tibemsMsgConsumer_Close
Function
Purpose
Closes a message consumer and releases associated storage.
C Declaration
tibems_status tibemsMsgConsumer_Close(
    tibemsMsgConsumer msgConsumer );
COBOL Call
CALL "tibemsMsgConsumer_Close"
USING BY VALUE msgConsumer,
RETURNING tibems-status
END-CALL.
 
msgConsumer has usage pointer.
Parameters
 
Remarks
If a receive call or a message listener callback is in progress, then this function waits until that call returns, and then closes the consumer.
This call also notifies the server that the client program is closing the consumer. In response, the server stops sending message data to the consumer.
Your program must explicitly close all consumers that it creates.
See Also
tibemsMsgConsumer_Receive on page 170
tibemsSession_CreateConsumer on page 299

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved