C# Class EducationPathways.ServiceBus.Handling.EventProcessor

Processes incoming events from the bus and routes them to the appropriate handlers.
Inheritance: MessageProcessor, IEventHandlerRegistry
Exibir arquivo Open project: pebblecode/EducationPathways Class Usage Examples

Public Methods

Method Description
EventProcessor ( IMessageReceiver receiver, ITextSerializer serializer ) : EducationPathways.Contracts
Register ( IEventHandler eventHandler ) : void

Protected Methods

Method Description
ProcessMessage ( string traceIdentifier, object payload, string messageId, string correlationId ) : void

Method Details

EventProcessor() public method

public EventProcessor ( IMessageReceiver receiver, ITextSerializer serializer ) : EducationPathways.Contracts
receiver IMessageReceiver
serializer ITextSerializer
return EducationPathways.Contracts

ProcessMessage() protected method

protected ProcessMessage ( string traceIdentifier, object payload, string messageId, string correlationId ) : void
traceIdentifier string
payload object
messageId string
correlationId string
return void

Register() public method

public Register ( IEventHandler eventHandler ) : void
eventHandler IEventHandler
return void