Skip to content

ExtRocketMQConsumerConfiguration#selectorExpression not resolve placeholders #376

Closed

Description

@hassan5134

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)?
    I set selectorExpression value by SpEL:
@ExtRocketMQConsumerConfiguration(
      group = "xxx",
      topic = "xxx",
      selectorExpression = "${spring.profiles.active}")
  • What did you expect to see?
    The selectorExpression value should be dev.

  • What did you see instead?
    The selectorExpression value is ${spring.profiles.active}.

  1. Please tell us about your environment:
    rocketmq-spring 2.2.0
    spring.profiles.active=dev

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

Activity

  1. RongtongJin commented on Aug 23, 2021

    @RongtongJin
    Contributor

    Good catch! Could you submit a pull request to fix the issue?

  2. added
    bug
    on Aug 23, 2021
  3. added a commit that references this issue on Aug 23, 2021
  4. added a commit that references this issue on Aug 24, 2021
  5. RongtongJin commented on Aug 24, 2021

    @RongtongJin
    Contributor

    Fixed in #383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions