1 25 26 package org.objectweb.jonas.jtests.beans.message; 27 28 import javax.jms.Message ; 29 30 34 public class Q3rollbackMD extends Listener { 35 36 private String mydest = "JunitQueue3"; 37 38 protected String getMyDest() { 39 return mydest; 40 } 41 42 public Q3rollbackMD() { 43 super(); 44 } 45 46 49 public void onMessage(Message message) { 50 mdbContext.setRollbackOnly(); 51 } 52 } 53 | Popular Tags |