In which environment are you running? Servlet container, EJB container, a normal Java application?
You should read http://docs.oracle.com/cd/E19798-01/821-1841/bncgl/index.html that explains how to use distributed transactions with JMS?
Thanks for the response..Many thanks.I'm facing this one in EJB Container.@TransactionManagement is by Container and @TransactionType is Required.I'm able to combine this JMS and JTA Transactions commit together if the Queue is LocalQueue and using JmsXA ConnectionFactory.But if the queue is sitting on remote server,i'm using jms/RemoteConnectionFactory and the message is not being rollbacked if any ejb persistence got failed in that JTA Transaction.Pls help me