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 String
googlePubsubAttributes()
The attributes of the message.String
googlePubsubMessageId()
The ID of the message, assigned by the server when the message is published.String
googlePubsubMsgAckId()
The ID used to acknowledge the received message.String
googlePubsubOrderingKey()
If non-empty, identifies related messages for which publish order should be respected.String
googlePubsubPublishTime()
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:String
type. Group: common- Returns:
- the name of the header
GooglePubsubMessageId
.
-
googlePubsubMsgAckId
public String googlePubsubMsgAckId()
The ID used to acknowledge the received message. The option is a:String
type. Group: consumer- Returns:
- the name of the header
GooglePubsubMsgAckId
.
-
googlePubsubPublishTime
public String googlePubsubPublishTime()
The time at which the message was published. The option is a:com.google.protobuf.Timestamp
type. Group: consumer- Returns:
- the name of the header
GooglePubsubPublishTime
.
-
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
GooglePubsubAttributes
.
-
googlePubsubOrderingKey
public String googlePubsubOrderingKey()
If non-empty, identifies related messages for which publish order should be respected. The option is a:String
type. Group: producer- Returns:
- the name of the header
GooglePubsubOrderingKey
.
-
-