注释类型 ExtRocketMQTemplateConfiguration
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Component public @interface ExtRocketMQTemplateConfiguration
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 StringaccessKeyThe property of "access-key".intcompressMessageBodyThresholdCompress message body threshold, namely, message body larger than 4k will be compressed on default.StringcustomizedTraceTopicThe name value of message trace topic.If you don't config,you can use the default trace topic name.booleanenableMsgTraceSwitch flag instance for message trace.StringgroupName of producer.StringinstanceNameThe property of "instanceName".intmaxMessageSizeMaximum allowed message size in bytes.StringnameServerThe property of "name-server".StringnamespaceThe namespace of producer.StringnamespaceV2The namespace v2 version of producer, it can not be used in combination with namespace.booleanretryNextServerIndicate whether to retry another broker on sending failure internally.intretryTimesWhenSendAsyncFailedMaximum number of retry to perform internally before claiming sending failure in asynchronous mode.intretryTimesWhenSendFailedMaximum number of retry to perform internally before claiming sending failure in synchronous mode.StringsecretKeyThe property of "secret-key".intsendMessageTimeoutMillis of send message timeout.StringtlsEnableThe property of "tlsEnable" default false.StringvalueThe component name of the Producer configuration.
-
-
-
元素详细资料
-
value
String value
The component name of the Producer configuration.- 默认值:
- ""
-
-
-
nameServer
String nameServer
The property of "name-server".- 默认值:
- "${rocketmq.name-server:}"
-
-
-
group
String group
Name of producer.- 默认值:
- "${rocketmq.producer.group:}"
-
-
-
accessKey
String accessKey
The property of "access-key".- 默认值:
- "${rocketmq.producer.accessKey:}"
-
-
-
secretKey
String secretKey
The property of "secret-key".- 默认值:
- "${rocketmq.producer.secretKey:}"
-
-
-
customizedTraceTopic
String customizedTraceTopic
The name value of message trace topic.If you don't config,you can use the default trace topic name.- 默认值:
- "${rocketmq.producer.customized-trace-topic:}"
-
-
-
tlsEnable
String tlsEnable
The property of "tlsEnable" default false.- 默认值:
- "false"
-
-
-
namespace
String namespace
The namespace of producer.- 默认值:
- ""
-
-
-
namespaceV2
String namespaceV2
The namespace v2 version of producer, it can not be used in combination with namespace.- 默认值:
- ""
-
-
-
instanceName
String instanceName
The property of "instanceName".- 默认值:
- "DEFAULT"
-
-