Universal Messaging Developer Guide : The Enterprise Client APIs : The Enterprise Developer Guide for C++ : Examples : Publish/Subscribe using Channels/Topics : Universal Messaging C++ Client: Asynchronous Named Channel Consumer
Universal Messaging C++ Client: Asynchronous Named Channel Consumer
This example shows how to asynchronously subscribe to events on a Universal Messaging Channel using a named object.
Usage
namedsubscriber <rname> <channel name> <named object> [persist] [auto] [start eid] [debug] [count] [selector]

<Required Arguments>


<rname> - the rname of server to connect to

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

<named object> - Unique id of the named object


[Optional Arguments]


[persist] - If the named object will be stored persistently

[auto] - If messages are acknowledged auomatically or manually

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

Product LogoContact Support   |   Community   |   Feedback