Finished code to configure and send messages to HiberActive hub/subscriber