Announcement Announcement Module
Collapse
No announcement yet.
Spring profiles Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring profiles

    Hi,

    Is it possible to dynamically provide name of profile like this?

    <beans profile="${profile.name}">
    </beans>
    I know there is "-Dspring.profiles.active", still there is some case where in I want to enable/disable it thru value of "profile.name", without touching my start up script where I've given "-Dspring.profiles.active=prod"

    - Raghav
Working...
X