Universal Messaging Developer Guide : The Enterprise Client APIs : The Enterprise Developer Guide for C++ : Examples : Message Queues : Universal Messaging C++ Client: Synchronous Queue Consumer
Universal Messaging C++ Client: Synchronous Queue Consumer
This example shows how to synchronously consume events from a Universal Messaging Queue. See also: Asynchronous Queue Subscription
Usage
qreader <rname> <queue name> [debug] [timeout] [transactional] [selecter] [count]


<Required Arguments>


<rname> - the rname of the server to connect to

<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

[timeout] - The timeout for the synchronous pop call

[transactional] - true / false whether the subscriber is transactional, if true, each event consumed will be ack'd to confirm receipt

[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
Copyright © 2013-2014 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback