Class RocketMQEndpointBuilderFactory.RocketMQHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.RocketMQEndpointBuilderFactory.RocketMQHeaderNameBuilder
- Enclosing interface:
- RocketMQEndpointBuilderFactory
The builder of headers' name for the RocketMQ component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBody CRC.Born host.Born timestamp.Broker name.Commit log offset.Key of message.Msg ID.Set keys for the message.If this header is set, the message's tag will be set to value specified by this header instead of the sendTag defined in endpoint.If this header is set, the message will be routed to the topic specified by this header instead of the origin topic in endpoint.Prepard transaction offset.Queue ID.Queue offset.Reconsume times.Store host.Store size.Store timestamp.Sys flag.Tag of message.Topic of message.
-
Constructor Details
-
RocketMQHeaderNameBuilder
public RocketMQHeaderNameBuilder()
-
-
Method Details
-
rockerMQTopic
Topic of message. The option is a:String
type. Group: consumer- Returns:
- the name of the header
RockerMQTopic
.
-
rockerMQTag
Tag of message. The option is a:String
type. Group: consumer- Returns:
- the name of the header
RockerMQTag
.
-
rockerMQKey
Key of message. The option is a:String
type. Group: consumer- Returns:
- the name of the header
RockerMQKey
.
-
rockerMQOverrideTopicName
If this header is set, the message will be routed to the topic specified by this header instead of the origin topic in endpoint. The option is a:String
type. Group: producer- Returns:
- the name of the header
RockerMQOverrideTopicName
.
-
rockerMQOverrideTag
If this header is set, the message's tag will be set to value specified by this header instead of the sendTag defined in endpoint. The option is a:String
type. Group: producer- Returns:
- the name of the header
RockerMQOverrideTag
.
-
rockerMQOverrideMessageKey
Set keys for the message. When using in-out pattern, the value will be prepended to the generated keys. The option is a:String
type. Group: producer- Returns:
- the name of the header
RockerMQOverrideMessageKey
.
-
rockerMQBrokerName
Broker name. The option is a:String
type. Group: consumer- Returns:
- the name of the header
RockerMQBrokerName
.
-
rockerMQQueueId
Queue ID. The option is a:int
type. Group: consumer- Returns:
- the name of the header
RockerMQQueueId
.
-
rockerMQStoreSize
Store size. The option is a:int
type. Group: consumer- Returns:
- the name of the header
RockerMQStoreSize
.
-
rockerMQQueueOffset
Queue offset. The option is a:long
type. Group: consumer- Returns:
- the name of the header
RockerMQQueueOffset
.
-
rockerMQSysFlag
Sys flag. The option is a:int
type. Group: consumer- Returns:
- the name of the header
RockerMQSysFlag
.
-
rockerMQBornTimestamp
Born timestamp. The option is a:long
type. Group: consumer- Returns:
- the name of the header
RockerMQBornTimestamp
.
-
rockerMQBornHost
Born host. The option is a:java.net.SocketAddress
type. Group: consumer- Returns:
- the name of the header
RockerMQBornHost
.
-
rockerMQStoreTimestamp
Store timestamp. The option is a:long
type. Group: consumer- Returns:
- the name of the header
RockerMQStoreTimestamp
.
-
rockerMQStoreHost
Store host. The option is a:java.net.SocketAddress
type. Group: consumer- Returns:
- the name of the header
RockerMQStoreHost
.
-
rockerMQMsgId
Msg ID. The option is a:String
type. Group: consumer- Returns:
- the name of the header
RockerMQMsgId
.
-
rockerMQCommitLogOffset
Commit log offset. The option is a:long
type. Group: consumer- Returns:
- the name of the header
RockerMQCommitLogOffset
.
-
rockerMQBodyCrc
Body CRC. The option is a:int
type. Group: consumer- Returns:
- the name of the header
RockerMQBodyCrc
.
-
rockerMQReconsumeTimes
Reconsume times. The option is a:int
type. Group: consumer- Returns:
- the name of the header
RockerMQReconsumeTimes
.
-
rockerMQPreparedTransactionOffset
Prepard transaction offset. The option is a:long
type. Group: consumer- Returns:
- the name of the header
RockerMQPreparedTransactionOffset
.
-