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 Details

    • PulsarHeaderNameBuilder

      public PulsarHeaderNameBuilder()
  • Method Details

    • 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.
    • pulsarProducerMessageDeliverAt

      public String 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

      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.