Universal Messaging 9.8 | Universal Messaging Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C# | Examples | Publish / Subscribe using Channel Topics | Asynchronous Named Channel Consumer
 
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> [name] [start eid] [debug] [count] [auto ack]
[cluster wide] [persistent] [selector] [priority]


<Required Arguments>

<rname> - the rname of the server to connect to
<channel name> - Channel name parameter for the channel to subscribe to

[Optional Arguments]

[name] - Specifies the unique name to be used for a named subscription
(default: OS username)
[start eid] - The Event ID to start subscribing from if the named subscriber
needs to be created (doesn't exist)
[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
(default: 1000)
[auto ack] - Specifies whether each event will be automatically acknowledged by
the api (default: true)
[cluster wide] - Specifies whether the named object is to be used across a cluster
(default: false)
[persistent ] - Specifies whether the named object state is to be stored to disk or
held in server memory (default: false)
[selector] - The event filter string to use
[priority] - Whether priority is enabled for this named subscriber
(default: false)
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.