A

Arogya • 3.19K Points
Extraordinary

Q. Which annotation is used to refresh configuration at runtime in Spring Cloud?

  • (A) @RefreshScope
  • (B) @Configuration
  • (C) @Component
  • (D) @Autowired
  • Correct Answer - Option(A)
  • Views: 1
  • Filed under category Spring Cloud
  • Hashtags:

Explanation by: Arogya
@RefreshScope reloads configuration properties when /actuator/refresh is triggered.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.