Using the FWEventServiceBus class

Learn about the FWEventServiceBus class

Last published at: July 30th, 2024

The FWEventServiceBus class provides all API-level methods required for managing functionality within the Event Service Bus (ESB) 

 

Creating the FWEventServiceBus object

FWEventServiceBus oESB = FWEventServiceBus(string databaseConnectString, string externalUserID, IError Provider oErrProvider = null);

Creates an instance of the FWEventServiceBus API object 

 

Create an Event Definition

Bool bFlag = oESB.CreateEventDefinition(“event name”, “event category”); Insert your text here

Create an event definition. 

 

Publish an event to the ESB.

Bool bFlag = oESB.PublishEventUsingName(string eventDefName, string eventSource, Hashtable oEve ntParms, eventPriority iEventPriority);

The event will be published to the ESB, and the engine will process the event based on the handlers. 

 

Run the event engine manually.

RunEventEngine()

Execute the event engine manually for processing published events