WebLogic Messaging API Class Library

ISession. Method 

Creates a queue identity given a IQueue name.

This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable.

Note that this method is not for creating the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API. The one exception is the creation of temporary queues, which is accomplished with the CreateTemporaryQueue method.

IQueue (
   String queueName
);

Parameters

String
the name of this IQueue

Return Value

An IQueue with the given name

Exceptions

Exception TypeCondition
MessageExceptionif the session fails to create a queue due to some internal error.

See Also

ISession Interface | WebLogic.Messaging Namespace