10.27.03

ISessionCreateTemporaryTopic Method

Creates a temporary topic for this session. Only a consumer on this session should bind to this topic; although clients on other sessions can publish to it.

Temporary topics can only be used to bind to non-durable endpoints.

Connect must be called before calling this method.

Definition

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
C#
ITopic CreateTemporaryTopic()

Return Value

ITopic
Return a temporary topic for this session

Exceptions

ObjectDisposedException Thrown when the session is already disposed (terminal state).
OperationErrorException Thrown when the operation fails. Possible sub-codes:

See Also