WebLogic Messaging API Class Library |

# IQueue Interface

An `IQueue` object encapsulates a JMS queue. It is the way a client specifies the identity of a queue to JMS API methods. Since `IQueue` and `ITopic` both inherit from `IDestination`, for those methods that use a `IDestination` as a parameter, an `IQueue` object can be used as the argument. For example, a queue can be used to create a `IMessageConsumer` and a `IMessageProducer` by calling:

- `ISession.CreateConsumer(IQueue queue)`
- `ISession.CreateProducer(IQueue queue)`

For a list of all members of this type, see IQueue Members.

public interface IQueue : WebLogic.Messaging.IDestination

#### Requirements

Namespace: WebLogic.Messaging

Assembly: WebLogic.Messaging (in WebLogic.Messaging.dll)

#### See Also

IQueue Members | WebLogic.Messaging Namespace | ISession CreateConsumer and CreateProducer methods | ISession.CreateQueue(string)