HI All,
I have created an new OSGI service XCreateCatalogCommand which implements PIM (cq-commerce-pim) com.day.cq.wcm.api.commands.WCMCommand interace. I have given top ranking for the service . Eventhough the API code is getting invoked instead of newly implemented service when i tried to do an rollout.
To test this i tried disabling the OSGI component com.adobe.cq.commerce.pim.impl.cataloggenerator.CreateCatalogCommand and my newly implement code got invoked when i did an rollout.
i am not sure what i am missing in code. i am pasting below the OSGI annotations written . let me know how to fix this issue
@Component(label = "Hybris Catalog Command", description = "Overrides the default Catalog Rollout", metatype = true)
@Service(WCMCommand.class)
@Properties({
@Property(name = "service.description", value = { "WCM command which creates a product catalog" }),
@Property(label="Service Ranking", name = "service.ranking", intValue = 1200, description = "Service Ranking", propertyPrivate = false)})