Copyright © TIBCO Software Inc. All Rights Reserved

> 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.

> Parameters

> 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 on page 144
> tibemsMsgProducer on page 174

Copyright © TIBCO Software Inc. All Rights Reserved