1 14 15 package org.apache.activemq.broker; 16 17 import org.apache.activemq.broker.region.Destination; 18 import org.apache.activemq.broker.region.Region; 19 import org.apache.activemq.state.ProducerState; 20 21 26 public class ProducerBrokerExchange{ 27 28 private ConnectionContext connectionContext; 29 private Destination regionDestination; 30 private Region region; 31 private ProducerState producerState; 32 private boolean mutable=true; 33 34 37 public ConnectionContext getConnectionContext(){ 38 return this.connectionContext; 39 } 40 41 44 public void setConnectionContext(ConnectionContext connectionContext){ 45 this.connectionContext=connectionContext; 46 } 47 48 51 public boolean isMutable(){ 52 return this.mutable; 53 } 54 55 58 public void setMutable(boolean mutable){ 59 this.mutable=mutable; 60 } 61 62 65 public Destination getRegionDestination(){ 66 return this.regionDestination; 67 } 68 69 72 public void setRegionDestination(Destination regionDestination){ 73 this.regionDestination=regionDestination; 74 } 75 76 79 public Region getRegion(){ 80 return this.region; 81 } 82 83 86 public void setRegion(Region region){ 87 this.region=region; 88 } 89 90 93 public ProducerState getProducerState(){ 94 return this.producerState; 95 } 96 97 100 public void setProducerState(ProducerState producerState){ 101 this.producerState=producerState; 102 } 103 } 104 | Popular Tags |