added api call to push messages into the message processor