Interface DelegatingMessageListener<T>
- Type Parameters:
T- the type received by the listener.
- All Superinterfaces:
AsyncRepliesAware
- All Known Implementing Classes:
AbstractDelegatingMessageListenerAdapter, AbstractFilteringMessageListener, ConvertingMessageListener, FilteringBatchMessageListenerAdapter, FilteringMessageListenerAdapter, KafkaBackoffAwareMessageListenerAdapter
Classes implementing this interface allow containers to determine the type of the
ultimate listener.
This interface also implements AsyncRepliesAware contract delegating to the getDelegate(),
respectivelly.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionReturn the delegate.default booleanReturn true if theHandlerAdapterreturn type is async.
-
Method Details
-
getDelegate
-
isAsyncReplies
default boolean isAsyncReplies()Description copied from interface:AsyncRepliesAwareReturn true if theHandlerAdapterreturn type is async.- Specified by:
isAsyncRepliesin interfaceAsyncRepliesAware- Returns:
- true for async replies.
-