@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented @Component public @interface RocketMQTransactionListener
Note: The annotation is used only on RocketMQ client producer side, it can not be used on consumer side.
| 限定符和类型 | 可选元素和说明 |
|---|---|
int |
blockingQueueSize
Set ExecutorService params -- blockingQueueSize
|
int |
corePoolSize
Set ExecutorService params -- corePoolSize
|
long |
keepAliveTime
Set ExecutorService params -- keepAliveTime
|
TimeUnit |
keepAliveTimeUnit
Set ExecutorService params -- keepAliveTimeUnit
|
int |
maximumPoolSize
Set ExecutorService params -- maximumPoolSize
|
String |
rocketMQTemplateBeanName
Set rocketMQTemplate bean name, the default is rocketMQTemplate.
|
public abstract int corePoolSize
public abstract int maximumPoolSize
public abstract long keepAliveTime
public abstract TimeUnit keepAliveTimeUnit
public abstract int blockingQueueSize
public abstract String rocketMQTemplateBeanName
Copyright © 2022 Apache Software Foundation. All rights reserved.