Announcement Announcement Module
Collapse
No announcement yet.
DI based on @Profile Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DI based on @Profile

    Hi All,

    I wannna configure my system like below.

    I have 3 profiles in my system (client1,cleint 2,client 3)

    I have 2 implementations for a interface each defined under profile (client1 ,client 2)

    The problem is that my current active profile is "client 3" , and there is no bean implementation under this profile for the above bean, so want my system to use bean from profile "client1" automatically.

    How can I achieve it.

    Thanks in advance.

  • #2
    Configure the bean outside the profile and override that definition for client2 only...

    Comment

    Working...
    X