1 6 7 package org.jfox.jms; 8 9 import javax.jms.JMSException ; 10 import javax.jms.Topic ; 11 12 15 16 public class JMSTopic extends JMSDestination implements Topic { 17 18 public JMSTopic(String name) { 19 super(name); 20 } 21 22 public String getTopicName() throws JMSException { 23 return getName(); 24 } 25 26 protected boolean isTopic() { 27 return true; 28 } 29 30 public static void main(String [] args) { 31 32 } 33 } 34 | Popular Tags |