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 String
eventTime()
The event time associated with the message.String
key()
The key of the message.String
keyBytes()
The bytes in key.String
messageId()
The unique message ID associated with the message.String
messageReceipt()
The message receipt.String
producerName()
The producer name who produced the message.String
properties()
The properties attached to the message.String
publishTime()
The publish time of the message.String
pulsarProducerMessageEventTime()
The event time of the message message.String
pulsarProducerMessageKey()
The key of the message for routing policy.String
pulsarProducerMessageProperties()
The properties of the message to add.String
pulsarRedeliveryCount()
The message redelivery count, redelivery count maintain in pulsar broker.String
sequenceId()
The sequence id associated with the message.String
topicName()
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:String
type. 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:long
type. Group: consumer- Returns:
- the name of the header
sequence_id
.
-
publishTime
public String publishTime()
The publish time of the message. The option is a:long
type. 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.MessageId
type. 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:long
type. Group: consumer- Returns:
- the name of the header
event_time
.
-
key
public String key()
The key of the message. The option is a:String
type. 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:String
type. 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.PulsarMessageReceipt
type. 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:String
type. 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:Long
type. 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:int
type. Group: consumer- Returns:
- the name of the header
PulsarRedeliveryCount
.
-
-