Class PulsarEndpointBuilderFactory.PulsarHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.PulsarEndpointBuilderFactory.PulsarHeaderNameBuilder
-
- Enclosing interface:
- PulsarEndpointBuilderFactory
public static class PulsarEndpointBuilderFactory.PulsarHeaderNameBuilder extends Object
The builder of headers' name for the Pulsar component.
-
-
Constructor Summary
Constructors Constructor Description PulsarHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringeventTime()The event time associated with the message.Stringkey()The key of the message.StringkeyBytes()The bytes in key.StringmessageId()The unique message ID associated with the message.StringmessageReceipt()The message receipt.StringproducerName()The producer name who produced the message.Stringproperties()The properties attached to the message.StringpublishTime()The publish time of the message.StringpulsarProducerMessageEventTime()The event time of the message message.StringpulsarProducerMessageKey()The key of the message for routing policy.StringpulsarProducerMessageProperties()The properties of the message to add.StringpulsarRedeliveryCount()The message redelivery count, redelivery count maintain in pulsar broker.StringsequenceId()The sequence id associated with the message.StringtopicName()The topic the message was published to.
-
-
-
Method Detail
-
properties
public String 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
public String producerName()
The producer name who produced the message. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
producer_name.
-
sequenceId
public String sequenceId()
The sequence id associated with the message. The option is a:longtype. Group: consumer- Returns:
- the name of the header
sequence_id.
-
publishTime
public String publishTime()
The publish time of the message. The option is a:longtype. Group: consumer- Returns:
- the name of the header
publish_time.
-
messageId
public String messageId()
The unique message ID associated with the message. The option is a:org.apache.pulsar.client.api.MessageIdtype. Group: consumer- Returns:
- the name of the header
message_id.
-
eventTime
public String eventTime()
The event time associated with the message. The option is a:longtype. Group: consumer- Returns:
- the name of the header
event_time.
-
key
public String key()
The key of the message. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
key.
-
keyBytes
public String keyBytes()
The bytes in key. The option is a:byte[]type. Group: consumer- Returns:
- the name of the header
key_bytes.
-
topicName
public String topicName()
The topic the message was published to. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
topic_name.
-
messageReceipt
public String messageReceipt()
The message receipt. The option is a:org.apache.camel.component.pulsar.PulsarMessageReceipttype. Group: consumer- Returns:
- the name of the header
message_receipt.
-
pulsarProducerMessageKey
public String pulsarProducerMessageKey()
The key of the message for routing policy. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
PulsarProducerMessageKey.
-
pulsarProducerMessageProperties
public String 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
public String pulsarProducerMessageEventTime()
The event time of the message message. The option is a:Longtype. Group: producer- Returns:
- the name of the header
PulsarProducerMessageEventTime.
-
pulsarRedeliveryCount
public String pulsarRedeliveryCount()
The message redelivery count, redelivery count maintain in pulsar broker. The option is a:inttype. Group: consumer- Returns:
- the name of the header
PulsarRedeliveryCount.
-
-