Skip to main content

Product: OpenFusion Notification Service

Version: 2.1 and above

 

Description:

How to get the IOR of an event channel?

 

Solution:

Write a small program that uses the Notification Service API to get the IORs of the channels.

The EventChannelFactory interface has a method called get_all_channels(). This returns an array of unique identifiers for all the channels created by the factory.

For each integer ID in the returned array, call get_event_channel() on the event channel factory, passing in the ID. This will return a reference to the event channel with that ID. Once you have the channel reference, you can call object_to_string() to obtain the IOR.


#OpenFusion
#KnowledgeDocs
#notificationservice