Class EventHubsEndpointBuilderFactory.EventHubsHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsHeaderNameBuilder
- Enclosing interface:
- EventHubsEndpointBuilderFactory
The builder of headers' name for the Azure Event Hubs component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIt sets the reason for the checkpoint to have been updated.It sets the instant, in UTC, of when the event was enqueued in the Event Hub partition.The set of free-form event properties which may be used for passing metadata associated with the event with the event body during Event Hubs operations.It sets the offset of the event when it was received from the associated Event Hub partition.(producer) Overrides the identifier of the Event Hub partition that the events will be sent to.(producer) Overrides the hashing key to be provided for the batch of events, which instructs the Event Hubs service to map this key to a specific partition.It sets the sequence number assigned to the event when it was enqueued in the associated Event Hub partition.The timestamp of the message.
-
Constructor Details
-
EventHubsHeaderNameBuilder
public EventHubsHeaderNameBuilder()
-
-
Method Details
-
azureEventHubsPartitionKey
(producer) Overrides the hashing key to be provided for the batch of events, which instructs the Event Hubs service to map this key to a specific partition. (consumer) It sets the partition hashing key if it was set when originally publishing the event. If it exists, this value was used to compute a hash to select a partition to send the message to. This is only present on a received EventData. The option is a:String
type. Group: common- Returns:
- the name of the header
AzureEventHubsPartitionKey
.
-
azureEventHubsPartitionId
(producer) Overrides the identifier of the Event Hub partition that the events will be sent to. (consumer) It sets the partition id of the Event Hub. The option is a:String
type. Group: common- Returns:
- the name of the header
AzureEventHubsPartitionId
.
-
azureEventHubsOffset
It sets the offset of the event when it was received from the associated Event Hub partition. This is only present on a received EventData. The option is a:Integer
type. Group: consumer- Returns:
- the name of the header
AzureEventHubsOffset
.
-
azureEventHubsEnqueuedTime
It sets the instant, in UTC, of when the event was enqueued in the Event Hub partition. This is only present on a received EventData. The option is a:Instant
type. Group: consumer- Returns:
- the name of the header
AzureEventHubsEnqueuedTime
.
-
azureEventHubsSequenceNumber
It sets the sequence number assigned to the event when it was enqueued in the associated Event Hub partition. This is unique for every message received in the Event Hub partition. This is only present on a received EventData. The option is a:Long
type. Group: consumer- Returns:
- the name of the header
AzureEventHubsSequenceNumber
.
-
azureEventHubsMetadata
The set of free-form event properties which may be used for passing metadata associated with the event with the event body during Event Hubs operations. The option is a:Map<String, Object>
type. Group: consumer- Returns:
- the name of the header
AzureEventHubsMetadata
.
-
messageTimestamp
The timestamp of the message. The option is a:long
type. Group: consumer- Returns:
- the name of the header
MessageTimestamp
.
-
azureEventHubsCheckpointUpdatedBy
It sets the reason for the checkpoint to have been updated. This is only present on a received EventData. The option is a:String
type. Group: consumer- Returns:
- the name of the header
AzureEventHubsCheckpointUpdatedBy
.
-