1 18 package org.apache.activemq.tool.properties; 19 20 public class JmsClientProperties extends AbstractObjectProperties { 21 public static final String SESSION_AUTO_ACKNOWLEDGE = "autoAck"; 22 public static final String SESSION_CLIENT_ACKNOWLEDGE = "clientAck"; 23 public static final String SESSION_DUPS_OK_ACKNOWLEDGE = "dupsAck"; 24 public static final String SESSION_TRANSACTED = "transacted"; 25 26 protected String destName = "TEST.FOO"; 27 protected boolean destComposite = false; 28 29 protected String sessAckMode = SESSION_AUTO_ACKNOWLEDGE; 30 protected boolean sessTransacted = false; 31 32 protected String jmsProvider = null; 33 protected String jmsVersion = null; 34 protected String jmsProperties = null; 35 36 public String getDestName() { 37 return destName; 38 } 39 40 public void setDestName(String destName) { 41 this.destName = destName; 42 } 43 44 public boolean isDestComposite() { 45 return destComposite; 46 } 47 48 public void setDestComposite(boolean destComposite) { 49 this.destComposite = destComposite; 50 } 51 52 public String getSessAckMode() { 53 return sessAckMode; 54 } 55 56 public void setSessAckMode(String sessAckMode) { 57 this.sessAckMode = sessAckMode; 58 } 59 60 public boolean isSessTransacted() { 61 return sessTransacted; 62 } 63 64 public void setSessTransacted(boolean sessTransacted) { 65 this.sessTransacted = sessTransacted; 66 } 67 68 public String getJmsProvider() { 69 return jmsProvider; 70 } 71 72 public void setJmsProvider(String jmsProvider) { 73 this.jmsProvider = jmsProvider; 74 } 75 76 public String getJmsVersion() { 77 return jmsVersion; 78 } 79 80 public void setJmsVersion(String jmsVersion) { 81 this.jmsVersion = jmsVersion; 82 } 83 84 public String getJmsProperties() { 85 return jmsProperties; 86 } 87 88 public void setJmsProperties(String jmsProperties) { 89 this.jmsProperties = jmsProperties; 90 } 91 } 92 | Popular Tags |