added message separation, based on the content type. calling external api from subscriber code based on the message payload type