I am expecting the instance of "DiscoveryClient" to be available during the bootstrap. This will help me to discover my custom configuration server and load the properties when the application boots up. But I am not able to inject the "DiscoveryClient" to a class that is instantiated at Bootstrap.

A very detailed description of the issue is given here in (StackOverflow)

Comment From: spencergibb

Closing in favor of stack overflow. Please don't cross post

Comment From: ranju4u6

I understand. But the StackOverflow one is not helping at all!