add topmq client for send onconnect message
clean code