Indentation
use guest as default credentials
use topic exchange in script too
Use make_shared
use scope lock rather than unique_lock
Run every adapter process in threads