Universal Messaging 10.7 | 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)