As pointed out in the gh #30688 the condition on the overloaded bean aren't honored in all cases. This is due to the fact that the ConfigurationClassBeanDefinitionReader bases its logic on the method name only.

Comment From: pivotal-cla

@EdoardoP92 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@EdoardoP92 Thank you for signing the Contributor License Agreement!