Class NatsEndpointBuilderFactory.NatsHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.NatsEndpointBuilderFactory.NatsHeaderNameBuilder
Enclosing interface:
NatsEndpointBuilderFactory

public static class NatsEndpointBuilderFactory.NatsHeaderNameBuilder extends Object
The builder of headers' name for the Nats component.
  • Constructor Details

    • NatsHeaderNameBuilder

      public NatsHeaderNameBuilder()
  • Method Details

    • natsMessageTimestamp

      public String natsMessageTimestamp()
      The timestamp of a consumed message. The option is a: long type. Group: common
      Returns:
      the name of the header NatsMessageTimestamp.
    • natsSID

      public String natsSID()
      The SID of a consumed message. The option is a: String type. Group: common
      Returns:
      the name of the header NatsSID.
    • natsReplyTo

      public String natsReplyTo()
      The ReplyTo of a consumed message (may be null). The option is a: String type. Group: common
      Returns:
      the name of the header NatsReplyTo.
    • natsSubject

      public String natsSubject()
      The Subject of a consumed message. The option is a: String type. Group: common
      Returns:
      the name of the header NatsSubject.
    • natsQueueName

      public String natsQueueName()
      The Queue name of a consumed message (may be null). The option is a: String type. Group: common
      Returns:
      the name of the header NatsQueueName.
    • natsStatusCode

      public String natsStatusCode()
      Status message code. The option is a: int type. Group: consumer
      Returns:
      the name of the header NatsStatusCode.
    • natsStatusError

      public String natsStatusError()
      Status message error message. The option is a: String type. Group: consumer
      Returns:
      the name of the header NatsStatusError.
    • natsDeliveryCounter

      public String natsDeliveryCounter()
      Number of times this message has been delivered (1 = first, 1 then message has been redelivered). The option is a: long type. Group: consumer
      Returns:
      the name of the header NatsDeliveryCounter.