Refactoring. Refs #CORE-851.

we do not use rabbit mq