You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/08/27 03:25:49 UTC

[GitHub] [rocketmq-spring] qingzhou413 opened a new issue #132: Suggesting support SPEL for @RocketMQMessageListener topic resolution

qingzhou413 opened a new issue #132: Suggesting support SPEL for @RocketMQMessageListener topic resolution
URL: https://github.com/apache/rocketmq-spring/issues/132
 
 
   1. Please describe the feature you are requesting.
   
   When using @RocketMQMessageListener like below:
   ```
   @RocketMQMessageListener(
           nameServer = "${rocketmq.name-server}",
           topic = "'TP_' + T(java.net.InetAddress).getLocalHost().getHostAddress().replace('.', '_')",
           consumerGroup = "${rocketmq.consumer.group}",
           accessKey = "${rocketmq.consumer.access-key}",
           secretKey = "${rocketmq.consumer.secret-key}"
   )
   ```
   Sometimes we want to set topic at runtime, but currently only support placeholders.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services