Interface InboundChannelModelBuilder


  • public interface InboundChannelModelBuilder
    A builder to create a InboundChannelModel instance, which represents a channel from the 'outside world' to receive events. An inbound channel consists of the following parts: - An adapter that defines how/where the events are received, each with specific configurations. - An event processing pipeline, which transforms the incoming event and extracts data and metadata: - deserialization (from the 'raw' event to something else) - event key detection: detects the 'key' which will define the EventModel to be used. - tenant detection (only relevant when using multi-tenant): detects a 'tenantId' which is used to determine the correct EventDefinition. - payload extraction: with the EventModel determined, the definition is used to extract the payload from the event data. - transformation: transforms the event to an internal representation, ready to be passed to the EventRegistry. - (Optionally) custom steps (or override any of the above)
    Author:
    Joram Barrez, Filip Hrisafov