public class EventHubTestOperation extends EventHubTemplate
| Constructor and Description |
|---|
EventHubTestOperation(EventHubClientFactory clientFactory,
Supplier<com.microsoft.azure.eventprocessorhost.PartitionContext> partitionContextSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
register(String name,
String group,
EventHubProcessor eventProcessor) |
<U> CompletableFuture<Void> |
sendAsync(String name,
org.springframework.messaging.Message<U> message,
PartitionSupplier partitionSupplier) |
boolean |
unsubscribe(String name,
String consumerGroup) |
subscribebuildPropertiesMap, getCheckpointConfig, getMessageConverter, getStartPosition, sendAsync, setCheckpointConfig, setMessageConverter, setStartPosition, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetStartPositionsendAsyncsendAsync, sendAsyncsubscribegetCheckpointConfig, setCheckpointConfigpublic EventHubTestOperation(EventHubClientFactory clientFactory, Supplier<com.microsoft.azure.eventprocessorhost.PartitionContext> partitionContextSupplier)
public <U> CompletableFuture<Void> sendAsync(String name, org.springframework.messaging.Message<U> message, PartitionSupplier partitionSupplier)
sendAsync in interface SendOperationsendAsync in class AbstractEventHubTemplateprotected void register(String name, String group, EventHubProcessor eventProcessor)
register in class AbstractEventHubTemplatepublic boolean unsubscribe(String name, String consumerGroup)
unsubscribe in interface SubscribeByGroupOperationunsubscribe in class EventHubTemplateCopyright © 2019 Pivotal Software, Inc.. All rights reserved.