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