1 22 package org.jboss.mq; 23 24 import javax.jms.QueueSession ; 25 import javax.jms.XAQueueSession ; 26 27 35 public class SpyQueueSession extends SpySession implements QueueSession , XAQueueSession 36 { 37 44 SpyQueueSession(Connection myConnection, boolean transacted, int acknowledgeMode) 45 { 46 this(myConnection, transacted, acknowledgeMode, false); 47 } 48 49 57 SpyQueueSession(Connection myConnection, boolean transacted, int acknowledgeMode, boolean xaSession) 58 { 59 super(myConnection, transacted, acknowledgeMode, xaSession); 60 } 61 62 public QueueSession getQueueSession() throws javax.jms.JMSException 63 { 64 return this; 65 } 66 } | Popular Tags |