connecting up msg queue