1 18 package org.apache.activemq.network.jms; 19 20 21 28 public class OutboundTopicBridge extends TopicBridge{ 29 30 String outboundTopicName; 31 String localTopicName; 32 36 public OutboundTopicBridge(String outboundTopicName){ 37 this.outboundTopicName = outboundTopicName; 38 this.localTopicName = outboundTopicName; 39 } 40 41 44 public OutboundTopicBridge(){ 45 } 46 47 50 public String getOutboundTopicName(){ 51 return outboundTopicName; 52 } 53 54 57 public void setOutboundTopicName(String outboundTopicName){ 58 this.outboundTopicName=outboundTopicName; 59 if(this.localTopicName==null){ 60 this.localTopicName=outboundTopicName; 61 } 62 } 63 64 67 public String getLocalTopicName(){ 68 return localTopicName; 69 } 70 71 74 public void setLocalTopicName(String localTopicName){ 75 this.localTopicName=localTopicName; 76 } 77 78 } 79 | Popular Tags |