Added code for JMS p2p