@MediaType(value="*/*",
strict=false)
@ClusterSupport(value=DEFAULT_ALL_NODES)
@Alias(value="eventhub-listener")
@BackPressure(defaultMode=DROP,
supportedModes={DROP,WAIT})
public class EventHubListener
extends org.mule.runtime.extension.api.runtime.source.Source<InputStream,EventAttributes>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CHECKPOINT_FREQUENCY |
| Constructor and Description |
|---|
EventHubListener() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCheckpointFrequency() |
org.mule.runtime.api.connection.ConnectionProvider<AzureEventHubsConnection> |
getConnectionProvider() |
EventHubConsumerClient |
getConsumer() |
String |
getConsumerGroup() |
EventHubEventPositionType |
getEventHubEventPositionType() |
AzureEventHubsConnection |
getEventHubsConnection() |
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,EventAttributes> sourceCallback) |
void |
onStop() |
void |
setCheckpointFrequency(Integer checkpointFrequency) |
void |
setConnectionProvider(org.mule.runtime.api.connection.ConnectionProvider<AzureEventHubsConnection> connectionProvider) |
void |
setConsumer(EventHubConsumerClient consumer) |
void |
setConsumerGroup(String consumerGroup) |
void |
setEventHubEventPositionType(EventHubEventPositionType eventHubEventPositionType) |
void |
setEventHubsConnection(AzureEventHubsConnection eventHubsConnection) |
public static final int DEFAULT_CHECKPOINT_FREQUENCY
public String getConsumerGroup()
public void setConsumerGroup(String consumerGroup)
public void setCheckpointFrequency(Integer checkpointFrequency)
public EventHubEventPositionType getEventHubEventPositionType()
public void setEventHubEventPositionType(EventHubEventPositionType eventHubEventPositionType)
public org.mule.runtime.api.connection.ConnectionProvider<AzureEventHubsConnection> getConnectionProvider()
public void setConnectionProvider(org.mule.runtime.api.connection.ConnectionProvider<AzureEventHubsConnection> connectionProvider)
public EventHubConsumerClient getConsumer()
public void setConsumer(EventHubConsumerClient consumer)
public AzureEventHubsConnection getEventHubsConnection()
public void setEventHubsConnection(AzureEventHubsConnection eventHubsConnection)
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,EventAttributes> sourceCallback) throws org.mule.runtime.api.connection.ConnectionException
onStart in class org.mule.runtime.extension.api.runtime.source.Source<InputStream,EventAttributes>org.mule.runtime.api.connection.ConnectionExceptionpublic void onStop()
onStop in class org.mule.runtime.extension.api.runtime.source.Source<InputStream,EventAttributes>public Integer getCheckpointFrequency()
Copyright © 2025 MuleSoft, Inc.. All rights reserved.