public interface ReceiveOperation
Message> from a destination.
Received message contain payload of type specified by setMessagePayloadType(Class)}| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<org.springframework.messaging.Message<?>> |
receiveAsync(String destination)
Receive a message from destination async.
|
void |
setCheckpointMode(CheckpointMode checkpointMode) |
void |
setMessagePayloadType(Class<?> messagePayloadType)
Set message payload type.
|
CompletableFuture<org.springframework.messaging.Message<?>> receiveAsync(String destination)
CompletableFuture of the next available Message or null if emptyvoid setMessagePayloadType(Class<?> messagePayloadType)
byte[]void setCheckpointMode(CheckpointMode checkpointMode)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.