Class PulsarEndpointBuilderFactory.PulsarHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.PulsarEndpointBuilderFactory.PulsarHeaderNameBuilder
- Enclosing interface:
- PulsarEndpointBuilderFactory
The builder of headers' name for the Pulsar component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe event time associated with the message.key()
The key of the message.keyBytes()
The bytes in key.The unique message ID associated with the message.The message receipt.The producer name who produced the message.The properties attached to the message.The publish time of the message.Deliver the message only at or after the specified absolute timestamp.The event time of the message message.The key of the message for routing policy.The properties of the message to add.The message redelivery count, redelivery count maintain in pulsar broker.The sequence id associated with the message.The topic the message was published to.
-
Constructor Details
-
PulsarHeaderNameBuilder
public PulsarHeaderNameBuilder()
-
-
Method Details
-
properties
The properties attached to the message. The option is a:Map<String, String>
type. Group: consumer- Returns:
- the name of the header
properties
.
-
producerName
The producer name who produced the message. The option is a:String
type. Group: consumer- Returns:
- the name of the header
producer_name
.
-
sequenceId
The sequence id associated with the message. The option is a:long
type. Group: consumer- Returns:
- the name of the header
sequence_id
.
-
publishTime
The publish time of the message. The option is a:long
type. Group: consumer- Returns:
- the name of the header
publish_time
.
-
messageId
The unique message ID associated with the message. The option is a:org.apache.pulsar.client.api.MessageId
type. Group: consumer- Returns:
- the name of the header
message_id
.
-
eventTime
The event time associated with the message. The option is a:long
type. Group: consumer- Returns:
- the name of the header
event_time
.
-
key
The key of the message. The option is a:String
type. Group: consumer- Returns:
- the name of the header
key
.
-
keyBytes
The bytes in key. The option is a:byte[]
type. Group: consumer- Returns:
- the name of the header
key_bytes
.
-
topicName
The topic the message was published to. The option is a:String
type. Group: consumer- Returns:
- the name of the header
topic_name
.
-
messageReceipt
The message receipt. The option is a:org.apache.camel.component.pulsar.PulsarMessageReceipt
type. Group: consumer- Returns:
- the name of the header
message_receipt
.
-
pulsarProducerMessageKey
The key of the message for routing policy. The option is a:String
type. Group: producer- Returns:
- the name of the header
PulsarProducerMessageKey
.
-
pulsarProducerMessageProperties
The properties of the message to add. The option is a:Map<String, String>
type. Group: producer- Returns:
- the name of the header
PulsarProducerMessageProperties
.
-
pulsarProducerMessageEventTime
The event time of the message message. The option is a:Long
type. Group: producer- Returns:
- the name of the header
PulsarProducerMessageEventTime
.
-
pulsarProducerMessageDeliverAt
Deliver the message only at or after the specified absolute timestamp. The timestamp is milliseconds and based on UTC (eg: System.currentTimeMillis) Note: messages are only delivered with delay when a consumer is consuming through a Shared subscription. With other subscription types, the messages will still be delivered immediately. The option is a:Long
type. Group: producer- Returns:
- the name of the header
PulsarProducerMessageDeliverAt
.
-
pulsarRedeliveryCount
The message redelivery count, redelivery count maintain in pulsar broker. The option is a:int
type. Group: consumer- Returns:
- the name of the header
PulsarRedeliveryCount
.
-