Queue manager operations

Queue managers support messaging operations and manage queues. Applications access messages through the services of the queue manager using methods such as:
Get
This operation removes messages from a queue.
Put
This operation places messages on a queue.
Delete
By specifying the UID, you can delete messages from a queue without using the get operation.
Browse
You can browse queues for messages using a filter (see below). Browsing retrieves all the messages that match the filter, but leaves them on the queue. MQe also supports Browsing under lock. This allows you to lock the matching messages.
Wait
In Java™, applications can wait for a specified time for messages to arrive on a queue. This does not apply to the C code base.
Listen
In Java, applications can listen for MQe message events, again with an optional filter. However, in order to do this, you must add a listener to the queue. Listeners are notified when messages arrive on a queue. This does not apply to the C code base.

Many of these operations take a filter as one of their parameters. A filter matches an element for equality and any parts of the message can be used for selective retrieval. Most method calls also include an attribute to be used in the encoding or decoding of a message. See Messaging for detailed information on messaging operations.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.