WebLogic Messaging API Class Library

ISession.CreateQueue 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 initiated by the JMS API.

IQueue CreateQueue(
   String queueName


the name of this IQueue

Return Value

An IQueue with the given name


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

See Also

ISession Interface | WebLogic.Messaging Namespace