tibemsSession_CreateProducer


Function

Purpose

Create a message producer.

C Declaration

tibems_status tibemsSession_CreateProducer( 
    tibemsSession session, 
    tibemsMsgProducer* producer, 
    tibemsDestination destination ); 

COBOL Call

CALL "tibemsSession_CreateProducer" 
     USING BY VALUE session, 
           BY REFERENCE producer, 
           BY VALUE destination, 
           RETURNING tibems-status 
END-CALL. 

session, producer and destination have usage pointer.

Parameter
Description
session
Create the producer in this session.
producer
The function stores the new producer object in this location.
destination
When non-null, the producer sends messages to this destination.
When null, the client program must specify the destination for each message individually.

See Also

tibemsDestination

tibemsMsgProducer


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