1 18 package org.apache.activemq.network.jms; 19 20 21 28 public class InboundTopicBridge extends TopicBridge{ 29 30 String inboundTopicName; 31 String localTopicName; 32 36 public InboundTopicBridge(String inboundTopicName){ 37 this.inboundTopicName = inboundTopicName; 38 this.localTopicName = inboundTopicName; 39 } 40 41 44 public InboundTopicBridge(){ 45 } 46 47 50 public String getInboundTopicName(){ 51 return inboundTopicName; 52 } 53 54 57 public void setInboundTopicName(String inboundTopicName){ 58 this.inboundTopicName=inboundTopicName; 59 if(this.localTopicName==null){ 60 this.localTopicName = inboundTopicName; 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 |