1 14 15 package org.apache.activemq.network; 16 17 22 public class NetworkBridgeConfiguration{ 23 24 private boolean conduitSubscriptions=true; 25 private boolean dynamicOnly=false; 26 private boolean dispatchAsync=true; 27 private boolean decreaseNetworkConsumerPriority=false; 28 private boolean duplex=false; 29 private boolean bridgeTempDestinations=true; 30 private int prefetchSize=1000; 31 private int networkTTL=1; 32 private String brokerName="localhost"; 33 private String userName; 34 private String password; 35 private String destinationFilter = ">"; 36 private String name = "localhost"; 37 38 41 public boolean isConduitSubscriptions(){ 42 return this.conduitSubscriptions; 43 } 44 45 48 public void setConduitSubscriptions(boolean conduitSubscriptions){ 49 this.conduitSubscriptions=conduitSubscriptions; 50 } 51 52 55 public boolean isDynamicOnly(){ 56 return this.dynamicOnly; 57 } 58 59 62 public void setDynamicOnly(boolean dynamicOnly){ 63 this.dynamicOnly=dynamicOnly; 64 } 65 66 67 70 public boolean isBridgeTempDestinations(){ 71 return this.bridgeTempDestinations; 72 } 73 74 75 78 public void setBridgeTempDestinations(boolean bridgeTempDestinations){ 79 this.bridgeTempDestinations=bridgeTempDestinations; 80 } 81 82 83 86 public boolean isDecreaseNetworkConsumerPriority(){ 87 return this.decreaseNetworkConsumerPriority; 88 } 89 90 91 94 public void setDecreaseNetworkConsumerPriority(boolean decreaseNetworkConsumerPriority){ 95 this.decreaseNetworkConsumerPriority=decreaseNetworkConsumerPriority; 96 } 97 98 99 102 public boolean isDispatchAsync(){ 103 return this.dispatchAsync; 104 } 105 106 107 110 public void setDispatchAsync(boolean dispatchAsync){ 111 this.dispatchAsync=dispatchAsync; 112 } 113 114 115 118 public boolean isDuplex(){ 119 return this.duplex; 120 } 121 122 123 126 public void setDuplex(boolean duplex){ 127 this.duplex=duplex; 128 } 129 130 131 134 public String getBrokerName(){ 135 return this.brokerName; 136 } 137 138 139 142 public void setBrokerName(String brokerName){ 143 this.brokerName=brokerName; 144 } 145 146 147 150 public int getNetworkTTL(){ 151 return this.networkTTL; 152 } 153 154 155 158 public void setNetworkTTL(int networkTTL){ 159 this.networkTTL=networkTTL; 160 } 161 162 163 166 public String getPassword(){ 167 return this.password; 168 } 169 170 171 174 public void setPassword(String password){ 175 this.password=password; 176 } 177 178 179 182 public int getPrefetchSize(){ 183 return this.prefetchSize; 184 } 185 186 187 190 public void setPrefetchSize(int prefetchSize){ 191 this.prefetchSize=prefetchSize; 192 } 193 194 195 198 public String getUserName(){ 199 return this.userName; 200 } 201 202 203 206 public void setUserName(String userName){ 207 this.userName=userName; 208 } 209 210 211 214 public String getDestinationFilter(){ 215 return this.destinationFilter; 216 } 217 218 219 222 public void setDestinationFilter(String destinationFilter){ 223 this.destinationFilter=destinationFilter; 224 } 225 226 229 public String getName(){ 230 return this.name; 231 } 232 233 236 public void setName(String name){ 237 this.name=name; 238 } 239 } 240 | Popular Tags |