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


Chapter 2 Messages : tibemsMsgCompletionCallback

tibemsMsgCompletionCallback
Type
Purpose
Asynchronously process a message after sending. This is equivalent to a completion listener in the Java and .NET API.
C Declaration
typedef void (*tibemsMsgCompletionCallback) (
    tibemsMsg msg,
    tibems_status status,
    void* closure );
Parameters
 
Remarks
To asynchronously send messages, your program can define callback functions of this type, and register them when sending asynchronously (using tibemsMsgProducer_AsyncSend or a related function).
If the send of the message was successful, the status parameter is TIBEMS_OK. If the send is not successful, the status is an error code indicating the type of failure that occurred.
This call is not supported in COBOL.
See Also
tibemsMsgProducer on page 176
The section on Sending Asynchronously in the TIBCO Enterprise Message Service User’s Guide.

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