protected class ServiceBusQueueTemplate.QueueMessageHandler<U> extends ServiceBusMessageHandler<U> implements com.microsoft.azure.servicebus.ISessionHandler
| Constructor and Description |
|---|
QueueMessageHandler(Consumer<org.springframework.messaging.Message<U>> consumer,
Class<U> payloadType,
com.microsoft.azure.servicebus.IQueueClient queueClient) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildCheckpointFailMessage(org.springframework.messaging.Message<?> message) |
protected String |
buildCheckpointSuccessMessage(org.springframework.messaging.Message<?> message) |
protected CompletableFuture<Void> |
failure(UUID uuid) |
CompletableFuture<Void> |
OnCloseSessionAsync(com.microsoft.azure.servicebus.IMessageSession session) |
CompletableFuture<Void> |
onMessageAsync(com.microsoft.azure.servicebus.IMessageSession session,
com.microsoft.azure.servicebus.IMessage message) |
protected CompletableFuture<Void> |
success(UUID uuid) |
notifyException, onMessageAsyncprotected CompletableFuture<Void> success(UUID uuid)
success in class ServiceBusMessageHandler<U>protected CompletableFuture<Void> failure(UUID uuid)
failure in class ServiceBusMessageHandler<U>protected String buildCheckpointFailMessage(org.springframework.messaging.Message<?> message)
buildCheckpointFailMessage in class ServiceBusMessageHandler<U>protected String buildCheckpointSuccessMessage(org.springframework.messaging.Message<?> message)
buildCheckpointSuccessMessage in class ServiceBusMessageHandler<U>public CompletableFuture<Void> onMessageAsync(com.microsoft.azure.servicebus.IMessageSession session, com.microsoft.azure.servicebus.IMessage message)
onMessageAsync in interface com.microsoft.azure.servicebus.ISessionHandlerpublic CompletableFuture<Void> OnCloseSessionAsync(com.microsoft.azure.servicebus.IMessageSession session)
OnCloseSessionAsync in interface com.microsoft.azure.servicebus.ISessionHandlerCopyright © 2019 Microsoft. All rights reserved.