1 22 package org.jboss.mq; 23 24 import javax.jms.JMSException ; 25 import javax.jms.TopicSession ; 26 import javax.jms.XATopicSession ; 27 28 36 public class SpyTopicSession extends SpySession implements TopicSession , XATopicSession 37 { 38 42 SpyTopicSession(Connection myConnection, boolean transacted, int acknowledgeMode) 43 { 44 this(myConnection, transacted, acknowledgeMode, false); 45 } 46 47 55 SpyTopicSession(Connection myConnection, boolean transacted, int acknowledgeMode, boolean xaSession) 56 { 57 super(myConnection, transacted, acknowledgeMode, xaSession); 58 } 59 60 public TopicSession getTopicSession() throws JMSException 61 { 62 return this; 63 } 64 } | Popular Tags |