Class RequestReplyMessageFuture<K,V>
- java.lang.Object
-
- org.springframework.util.concurrent.SettableListenableFuture<org.springframework.messaging.Message<?>>
-
- org.springframework.kafka.requestreply.RequestReplyMessageFuture<K,V>
-
- Type Parameters:
K
- the key type.V
- the outbound data type.
- All Implemented Interfaces:
java.util.concurrent.Future<org.springframework.messaging.Message<?>>
,org.springframework.util.concurrent.ListenableFuture<org.springframework.messaging.Message<?>>
- Direct Known Subclasses:
RequestReplyTypedMessageFuture
public class RequestReplyMessageFuture<K,V> extends org.springframework.util.concurrent.SettableListenableFuture<org.springframework.messaging.Message<?>>
A listenable future forMessage
replies.- Since:
- 2.7
- Author:
- Gary Russell
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.util.concurrent.ListenableFuture<SendResult<K,V>>
getSendFuture()
Return the send future.
-
-
-
Method Detail
-
getSendFuture
public org.springframework.util.concurrent.ListenableFuture<SendResult<K,V>> getSendFuture()
Return the send future.- Returns:
- the send future.
-
-