Class GooglePubsubEndpointBuilderFactory.GooglePubsubHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.GooglePubsubEndpointBuilderFactory.GooglePubsubHeaderNameBuilder
-
- Enclosing interface:
- GooglePubsubEndpointBuilderFactory
public static class GooglePubsubEndpointBuilderFactory.GooglePubsubHeaderNameBuilder extends Object
The builder of headers' name for the Google Pubsub component.
-
-
Constructor Summary
Constructors Constructor Description GooglePubsubHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgooglepubsubAttributes()The attributes of the message.StringgooglepubsubMessageid()The ID of the message, assigned by the server when the message is published.StringgooglepubsubMsgackid()The ID used to acknowledge the received message.StringgooglepubsubOrderingkey()If non-empty, identifies related messages for which publish order should be respected.StringgooglepubsubPublishtime()The time at which the message was published.
-
-
-
Method Detail
-
googlepubsubMessageid
public String googlepubsubMessageid()
The ID of the message, assigned by the server when the message is published. The option is a:Stringtype. Group: common- Returns:
- the name of the header
GooglePubsub.MessageId.
-
googlepubsubMsgackid
public String googlepubsubMsgackid()
The ID used to acknowledge the received message. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
GooglePubsub.MsgAckId.
-
googlepubsubPublishtime
public String googlepubsubPublishtime()
The time at which the message was published. The option is a:com.google.protobuf.Timestamptype. Group: consumer- Returns:
- the name of the header
GooglePubsub.PublishTime.
-
googlepubsubAttributes
public String googlepubsubAttributes()
The attributes of the message. The option is a:Map<String, String>type. Group: common- Returns:
- the name of the header
GooglePubsub.Attributes.
-
googlepubsubOrderingkey
public String googlepubsubOrderingkey()
If non-empty, identifies related messages for which publish order should be respected. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
GooglePubsub.OrderingKey.
-
-