Interface InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
-
- Enclosing interface:
- InboundChannelModelBuilder
public static interface InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
Builder for the 'key detection' part of theInboundChannelModel
, specifically for JSON events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InboundChannelModelBuilder.InboundEventTenantJsonDetectorBuilder
detectEventKeyUsingJsonField(String field)
Determines the key of the event based on a top-level field in the JSON representation in the event.InboundChannelModelBuilder.InboundEventTenantJsonDetectorBuilder
detectEventKeyUsingJsonPointerExpression(String jsonPointerExpression)
Determines the key of the event using on a JSON Pointer expression to find the value.InboundChannelModelBuilder.InboundEventTenantJsonDetectorBuilder
fixedEventKey(String key)
Sets the event key to a hardcoded value.
-
-
-
Method Detail
-
fixedEventKey
InboundChannelModelBuilder.InboundEventTenantJsonDetectorBuilder fixedEventKey(String key)
Sets the event key to a hardcoded value. This is useful when the channel only receives one type of event.
-
detectEventKeyUsingJsonField
InboundChannelModelBuilder.InboundEventTenantJsonDetectorBuilder detectEventKeyUsingJsonField(String field)
Determines the key of the event based on a top-level field in the JSON representation in the event.
-
detectEventKeyUsingJsonPointerExpression
InboundChannelModelBuilder.InboundEventTenantJsonDetectorBuilder detectEventKeyUsingJsonPointerExpression(String jsonPointerExpression)
Determines the key of the event using on a JSON Pointer expression to find the value.
-
-