tibemsSession_DeleteTemporaryTopic

Function

Purpose

Delete a temporary topic.

C Declaration

tibems_status tibemsSession_DeleteTemporaryTopic(
    tibemsSession session,
    tibemsTemporaryTopic tmpTopic );

COBOL Call

CALL "tibemsSession_DeleteTemporaryTopic"
     USING BY VALUE session,
           BY VALUE tmpTopic,
           RETURNING tibems-status
END-CALL.
Note: session and tmpTopic have usage pointer.

Parameters

Parameter Description
session Delete a temporary topic from this session.
tmpTopic Delete this temporary topic.

Remarks

When a client deletes a temporary topic, the server deletes any unconsumed messages in the topic.

If the client still has listeners or receivers for the topic, then this delete call returns TIBEMS_ILLEGAL_STATE.