public class EventHubTestOperation extends EventHubTemplate
| Constructor and Description |
|---|
EventHubTestOperation(EventHubClientFactory clientFactory,
Supplier<com.azure.messaging.eventhubs.models.EventContext> eventContextSupplier) |
| Modifier and Type | Method and Description |
|---|---|
EventHubProcessor |
createEventProcessor(Consumer<org.springframework.messaging.Message<?>> consumer,
Class<?> messagePayloadType) |
protected void |
createEventProcessorClient(String name,
String consumerGroup,
EventHubProcessor eventHubProcessor) |
<U> reactor.core.publisher.Mono<Void> |
sendAsync(String eventHubName,
org.springframework.messaging.Message<U> message,
PartitionSupplier partitionSupplier) |
protected void |
startEventProcessorClient(String name,
String consumerGroup) |
protected void |
stopEventProcessorClient(String name,
String consumerGroup) |
subscribe, unsubscribebuildPropertiesMap, getCheckpointConfig, getMessageConverter, getStartPosition, sendAsync, setCheckpointConfig, setMessageConverter, setStartPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetStartPositionsendAsyncsendAsync, sendAsyncsubscribegetCheckpointConfig, setCheckpointConfigpublic EventHubTestOperation(EventHubClientFactory clientFactory, Supplier<com.azure.messaging.eventhubs.models.EventContext> eventContextSupplier)
public <U> reactor.core.publisher.Mono<Void> sendAsync(String eventHubName, @NonNull org.springframework.messaging.Message<U> message, PartitionSupplier partitionSupplier)
sendAsync in interface SendOperationsendAsync in class AbstractEventHubTemplateprotected void createEventProcessorClient(String name, String consumerGroup, EventHubProcessor eventHubProcessor)
createEventProcessorClient in class AbstractEventHubTemplateprotected void startEventProcessorClient(String name, String consumerGroup)
startEventProcessorClient in class AbstractEventHubTemplateprotected void stopEventProcessorClient(String name, String consumerGroup)
stopEventProcessorClient in class AbstractEventHubTemplatepublic EventHubProcessor createEventProcessor(Consumer<org.springframework.messaging.Message<?>> consumer, Class<?> messagePayloadType)
createEventProcessor in class EventHubTemplateCopyright © 2020 Microsoft. All rights reserved.