Interface RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
RocketMQEndpointBuilderFactory.RocketMQEndpointBuilder
- Enclosing interface:
RocketMQEndpointBuilderFactory
public static interface RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the RocketMQ component.
-
Method Summary
Modifier and TypeMethodDescriptionaccessChannel(String accessChannel) Access channel of RocketMQ cluster.Access key for RocketMQ ACL.advanced()consumerGroup(String consumerGroup) Consumer group name.enableTrace(boolean enableTrace) Whether to enable trace.enableTrace(String enableTrace) Whether to enable trace.messageSelectorType(String messageSelectorType) Message Selector Type, TAG or SQL TAG by default.Namespace of RocketMQ cluster.namesrvAddr(String namesrvAddr) Name server address of RocketMQ cluster.Secret key for RocketMQ ACL.subscribeSql(String subscribeSql) Subscribe SQL of consumer.subscribeTags(String subscribeTags) Subscribe tags of consumer.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
accessChannel
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder accessChannel(String accessChannel) Access channel of RocketMQ cluster. LOCAL or CLOUD, LOCAL by default. The option is a:java.lang.Stringtype. Default: LOCAL Group: common- Parameters:
accessChannel- the value to set- Returns:
- the dsl builder
-
enableTrace
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder enableTrace(boolean enableTrace) Whether to enable trace. The option is a:booleantype. Default: false Group: common- Parameters:
enableTrace- the value to set- Returns:
- the dsl builder
-
enableTrace
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder enableTrace(String enableTrace) Whether to enable trace. The option will be converted to abooleantype. Default: false Group: common- Parameters:
enableTrace- the value to set- Returns:
- the dsl builder
-
namespace
Namespace of RocketMQ cluster. You need to specify this if you are using serverless version of RocketMQ. The option is a:java.lang.Stringtype. Group: common- Parameters:
namespace- the value to set- Returns:
- the dsl builder
-
namesrvAddr
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder namesrvAddr(String namesrvAddr) Name server address of RocketMQ cluster. The option is a:java.lang.Stringtype. Default: localhost:9876 Group: common- Parameters:
namesrvAddr- the value to set- Returns:
- the dsl builder
-
consumerGroup
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder consumerGroup(String consumerGroup) Consumer group name. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
consumerGroup- the value to set- Returns:
- the dsl builder
-
messageSelectorType
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder messageSelectorType(String messageSelectorType) Message Selector Type, TAG or SQL TAG by default. The option is a:java.lang.Stringtype. Default: tag Group: consumer- Parameters:
messageSelectorType- the value to set- Returns:
- the dsl builder
-
subscribeSql
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder subscribeSql(String subscribeSql) Subscribe SQL of consumer. See https://rocketmq.apache.org/docs/featureBehavior/07messagefilter/#attribute-based-sql-filtering for more details. The option is a:java.lang.Stringtype. Default: 1 = 1 Group: consumer- Parameters:
subscribeSql- the value to set- Returns:
- the dsl builder
-
subscribeTags
default RocketMQEndpointBuilderFactory.RocketMQEndpointConsumerBuilder subscribeTags(String subscribeTags) Subscribe tags of consumer. Multiple tags could be split by , such as TagATagB. The option is a:java.lang.Stringtype. Default: * Group: consumer- Parameters:
subscribeTags- the value to set- Returns:
- the dsl builder
-
accessKey
Access key for RocketMQ ACL. The option is a:java.lang.Stringtype. Group: security- Parameters:
accessKey- the value to set- Returns:
- the dsl builder
-
secretKey
Secret key for RocketMQ ACL. The option is a:java.lang.Stringtype. Group: security- Parameters:
secretKey- the value to set- Returns:
- the dsl builder
-