Universal Messaging 10.11 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for Java | Code Examples | Message Queues | Java Client: Peek events on a Queue
 
Java Client: Peek events on a Queue
This example shows how to peek events on a Universal Messaging Queue. See also: Asynchronous Queue Subscription.
Usage
npeekq <queue name> [debug] [count] [selector]

<Required Arguments>

<queue name> - Queue name parameter for the queue to peek

[Optional Arguments]

[debug] - The level of output from each event, 0 - none, 1 - summary, 2 - EIDs, 3 - All
[count] - The number of events to wait before printing out summary information
[selector] - The event filter string to use


Note: -? provides help on environment variables
Application Source Code
Click here for a code example