Universal Messaging 9.9 | Universal Messaging Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C# | Examples | Message Queues | Asynchronous Queue Consumer
 
Asynchronous Queue Consumer
This example shows how to asynchronously subscribe to events on a Universal Messaging Queue. See also: Synchronous Queue Subscription
Usage

qsubscriber <rname> <queue name> [debug] [transactional] [selecter] [count]


<Required Arguments>

<rname> - the rname of the server to connect to
<queue name> - Queue name parameter for the queue to pop from

[Optional Arguments]

[debug] - The level of output from each event,
0 - none, 1 - summary, 2 - EIDs, 3 - All
[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-2015 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release