tibemsSession_CreateTextMessage


Function

Purpose

Create a text message.

C Declaration

tibems_status tibemsSession_CreateTextMessage( 
    tibemsSession session, 
    tibemsTextMsg* textMsg ); 
 
tibems_status tibemsSession_CreateTextMessageEx( 
    tibemsSession session, 
    tibemsTextMsg* textMsg 
    const char* text ); 

COBOL Call

CALL "tibemsSession_CreateTextMessage" 
     USING BY VALUE session, 
           BY REFERENCE textMsg, 
           RETURNING tibems-status 
END-CALL. 
 
CALL "tibemsSession_CreateTextMessageEx" 
     USING BY VALUE session, 
           BY REFERENCE textMsg, 
           BY REFERENCE text, 
           RETURNING tibems-status 
END-CALL. 

session and textMsg have usage pointer.

Remarks

The JMS specification requires these calls. It is equivalent to tibemsTextMsg_Create .

Parameter
Description
session
Create the message in this session.
textMsg
The function stores the new message object in this location.
text
Create a text message with this text as its body.

See Also

tibemsTextMsg


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com