wangxing-git opened a new issue #71: I hope that the txProducerGroup of 
@RocketMQTransactionListener can support multiple.
URL: https://github.com/apache/rocketmq-spring/issues/71
 
 
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   I want multiple groups to use the same `RocketMQTransactionListener` bean
   
   2. Provide any additional detail on your proposed use case for this feature.
   For example:
   ```java
   @RocketMQTransactionListener(
           txProducerGroup = {
                   
"${spring.application.name}-${spring.profiles.active}-transactional-account-producer",
                   
"${spring.application.name}-${spring.profiles.active}-transactional-account-producer2"
           },
           corePoolSize = 5,
           maximumPoolSize = 10
   )
   public class TransactionListenerImpl extends AbstractTransactionListener {
   }
   ```
   Or
   ```java
   @RocketMQTransactionListener(
           txProducerGroup = 
"${spring.application.name}-${spring.profiles.active}-transactional-account-producer",
           corePoolSize = 5,
           maximumPoolSize = 10
   )
   @RocketMQTransactionListener(
           txProducerGroup = 
"${spring.application.name}-${spring.profiles.active}-transactional-account-producer2",
           corePoolSize = 5,
           maximumPoolSize = 10
   )
   public class TransactionListenerImpl extends AbstractTransactionListener {
   }
   ```
   
   3. Indicate the importance of this issue to you (blocker, must-have, 
should-have, nice-to-have). Are you currently using any workarounds to address 
this issue?
   nice-to-have

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to