init rmq properly for producer example
add rmq initialization for consumer example