10.27.03

ISessionCreateTemporaryQueue(String) Method

Creates a temporary Queue on this session with the given name. This Queue should only be bound to by a consumer on this session; although other sessions can publish to it.

A temporary queue can only be used to bind to non-durable endpoints. The non-durable endpoint is created on the appliance when a consumer is bound on this session.

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#
IQueue CreateTemporaryQueue(
	string name
)

Parameters

name  String

Return Value

IQueue
Returns a temporary Queue on this session with the given name

Exceptions

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

See Also