tibemsQueue_Create


Function

Purpose

Create a queue object.

C Declaration

tibems_status tibemsQueue_Create( 
    tibemsQueue* queue, 
    const char* queueName ); 

COBOL Call

CALL "tibemsQueue_Create" 
     USING BY REFERENCE queue, 
           BY REFERENCE queueName, 
           RETURNING tibems-status 
END-CALL. 

queue has usage pointer.

Remarks

This call creates only local objects (within the program). It does not attempt to lookup the corresponding server object until the program creates a tibemsMsgConsumer or a tibemsMsgProducer that uses the queue. That automatic lookup can result in either of two outcomes:

Parameter
Description
queue
The function stores the queue object in this location.
queueName
Create a queue with this name.
The lookup name of each queue must be unique among all queues.

See Also

tibemsLookupContext


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