added rabbitmq host as parameter given to middleware.