Universal Messaging 10.5 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C++ | Code Examples for C++ | Message Queues | C++ Client: Peek Events on a Queue
 
C++ Client: Peek Events on a Queue
Consume events from a Universal Messaging Queue in a non-destructive manner
Usage
qpeek <rname> <queue name> [debug] [selecter] [count]


<Required Arguments>


<rname> - the custom URL to access the realm. Example: nhp://localhost:9000

<queue name> - Queue name to pop from


[Optional Arguments]


[debug] - The level of output from each event, 0 - none, 1 - summary, 2 - EIDs, 3 - All

[selector] - The event filter string to use

[count] - The number of events to wait before printing out summary information
Application Source Code
Click here for a code example