So after a bit of asking around ,I found out that bahmni-erp-connect service is responsible for consuming the events published by OpenMRS.
I checked the code for bahmni-erp-connect.
Correct me if I’m wrong but what I dont seem to understand is there is no code that indicates its consuming events?Can anyone please help out?
EDIT:It points to https://github.com/Bahmni/openerp-atomfeed-service which has the code I was looking for. Thanks @binduak @mjsanish for clarifying my doubts