changes for using rabbit mq. stand by
Test for the use rabbitmq with threads for send and receive msgs