created a basic actor for writing messages from rabbitmq consumer to mongodb