Universal Messaging 9.7 | Universal Messaging Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C++ | Examples | Publish / Subscribe using Channel Topics | C++ Client: Synchronous Channel Consumer
 
C++ Client: Synchronous Channel Consumer
This example shows how to synchronously consume events from a Universal Messaging Channel. See also: Asynchronous Subscription
Usage
channeliterator <rname> <channel name> [start eid] [debug] [count] [selector]


<Required Arguments>


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

<channel name> - Channel name parameter for the channel to subscribe to


[Optional Arguments]


[start eid] - The Event ID to start subscribing from

[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
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.