Universal Messaging 9.7 | Universal Messaging Developer Guide | Enterprise APIs | Enterprise Developer's Guide for VBA | Publish / Subscribe | Publishing Tasks | Finding a Channel
 
Finding a Channel
Once the session has been established with the Universal Messaging realm server, the session object can be used to locate an existing Universal Messaging Channel by specifying the channel's name.
Note that you can use the Enterprise Manager GUI to create a Universal Messaging Channel.
This VBA code snippet demonstrates how to find a channel (for example /eur/rates):

Dim nca As New nChannelAttributes
Call nca.setName("/eur/rates")

Set chan = sess.findChannel(nca)

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.