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