Example to Understand peer to peer and publish subscribe using STOMP