T
- The target generic typeKafkaMessagingBodyBinder
instead@Singleton @Deprecated public class KafkaBodyBinder<T> extends Object implements AnnotatedConsumerRecordBinder<Body,T>
ArgumentBinder.BindingResult<T>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Deprecated.
|
Constructor and Description |
---|
KafkaBodyBinder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Class<Body> |
annotationType()
Deprecated.
|
ArgumentBinder.BindingResult<T> |
bind(ArgumentConversionContext<T> context,
ConsumerRecord<?,?> source)
Deprecated.
Bind the given argument from the given source.
|
public Class<Body> annotationType()
annotationType
in interface AnnotatedConsumerRecordBinder<Body,T>
public ArgumentBinder.BindingResult<T> bind(ArgumentConversionContext<T> context, ConsumerRecord<?,?> source)
ArgumentBinder
bind
in interface ArgumentBinder<T,ConsumerRecord<?,?>>
context
- The ArgumentConversionContext
source
- The sourceOptional
of the value. If no binding was possible Optional.empty()