Maybe it is my setup but my tests with the JmsXA are not working... and it is 
driving me nuts.

As mentioned I am trying to force the transaction to rollback by throwing an 
exception after the 'sending' of a message but the message still gets sent out.

May I ask some detailed questions:
1) When you send a message with the JmsXA Factory, do you also set the 
transaction-boolean when creating a session?
i.e. connection.createSession( true... ?

2) do you lookup the connection at each send?
i.e.

  |       ic = new InitialContext();
  |         System.out.println("do lookup");
  |         mConnectionFactory = (ConnectionFactory) 
ic.lookup(destinationConfig.getFactory());
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247613#4247613

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247613
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to