Here, I am going to explain how to add OSGI annotations to custom service, the SCR annotations are deprecated in AEM 6.3, so the people who are working on AEM 6.3 must use OSGI annotations, first you need to add below dependencies
Using @Designate annotation you can load the FeedConfiguration, to read the configuration properties in the class file inject the FeedConfiguration in the activate method and read the properties using config instance
A technology enthusiast and a professional blogger from India. Through out my IT career, I have had the pleasure of working on various new technologies and built products like www.ziprides.com and some other products. Unfortunately, my attempts have not given me the desired results and as a result, I have finally decided to build a professional blog where I would like to share all my learnings and hoping to learn from other enthusiasts around the world.