@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Component public @interface ExtRocketMQTemplateConfiguration
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
accessKey
The property of "access-key".
|
int |
compressMessageBodyThreshold
Compress message body threshold, namely, message body larger than 4k will be compressed on default.
|
String |
customizedTraceTopic
The name value of message trace topic.If you don't config,you can use the default trace topic name.
|
boolean |
enableMsgTrace
Switch flag instance for message trace.
|
String |
group
Name of producer.
|
int |
maxMessageSize
Maximum allowed message size in bytes.
|
String |
nameServer
The property of "name-server".
|
String |
namespace
The namespace of producer.
|
boolean |
retryNextServer
Indicate whether to retry another broker on sending failure internally.
|
int |
retryTimesWhenSendAsyncFailed
Maximum number of retry to perform internally before claiming sending failure in asynchronous mode.
|
int |
retryTimesWhenSendFailed
Maximum number of retry to perform internally before claiming sending failure in synchronous mode.
|
String |
secretKey
The property of "secret-key".
|
int |
sendMessageTimeout
Millis of send message timeout.
|
String |
tlsEnable
The property of "tlsEnable" default false.
|
String |
value
The component name of the Producer configuration.
|
public abstract String value
public abstract String nameServer
public abstract String group
public abstract int compressMessageBodyThreshold
public abstract int retryTimesWhenSendFailed
public abstract int retryTimesWhenSendAsyncFailed
Maximum number of retry to perform internally before claiming sending failure in asynchronous mode.
This may potentially cause message duplication which is up to application developers to resolve.public abstract boolean retryNextServer
public abstract String accessKey
public abstract String secretKey
public abstract boolean enableMsgTrace
public abstract String customizedTraceTopic
public abstract String tlsEnable
public abstract String namespace
Copyright © 2022 Apache Software Foundation. All rights reserved.