NBEvent is a base class which must be extended to be able to receive an event from the system.
Inheritance Hierarchy

IBM.Broker.Plugin.Connector NBEvent
IBM.Broker.Plugin.Connector NBByteArrayInputEvent
Namespace: IBM.Broker.Plugin.Connector
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax
Remarks
The connector writer implements and constructs NBEvent objects, which are delivered to Integration Bus for processing by calling the DeliverEvents method on the writers NBEventInputConnector.
Integration Bus makes calls backs to the NBEvent object during the processing of the Event as follows:
- LogEvent is called when the NBEvent is about to be processed and needs to be logged to activity trace.
- BuildInputRecord is called when the record representing the NBEvent is required. The record is used to construct the message that is processed in the message flow.
- BuildProperties is called when extra details about the NBEvent are required which are not part of the data. These details are written out to the LocalEnvironment tree.
- Confirm is called if the processing of the event was successful.
- MarkAsFailed is called if the processing of the event failed.
The connector writer constructs NBEvent objects which are delivered to Integration Bus by calling the DeliverEvent or DeliverEvents methods. A default implementation, NBByteArrayInputEvent is provided to simplify the handling of byte arrays.
See Also