001 /** 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 005 * The ASF licenses this file to You under the Apache License, Version 2.0 006 * (the "License"); you may not use this file except in compliance with 007 * the License. You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017 package org.apache.activemq.tool.properties; 018 019 public class JmsClientProperties extends AbstractObjectProperties { 020 public static final String SESSION_AUTO_ACKNOWLEDGE = "autoAck"; 021 public static final String SESSION_CLIENT_ACKNOWLEDGE = "clientAck"; 022 public static final String SESSION_DUPS_OK_ACKNOWLEDGE = "dupsAck"; 023 public static final String SESSION_TRANSACTED = "transacted"; 024 025 protected String destName = "TEST.FOO"; 026 protected boolean destComposite; 027 028 protected String sessAckMode = SESSION_AUTO_ACKNOWLEDGE; 029 protected boolean sessTransacted; 030 031 protected String jmsProvider; 032 protected String jmsVersion; 033 protected String jmsProperties; 034 035 public String getDestName() { 036 return destName; 037 } 038 039 public void setDestName(String destName) { 040 this.destName = destName; 041 } 042 043 public boolean isDestComposite() { 044 return destComposite; 045 } 046 047 public void setDestComposite(boolean destComposite) { 048 this.destComposite = destComposite; 049 } 050 051 public String getSessAckMode() { 052 return sessAckMode; 053 } 054 055 public void setSessAckMode(String sessAckMode) { 056 this.sessAckMode = sessAckMode; 057 } 058 059 public boolean isSessTransacted() { 060 return sessTransacted; 061 } 062 063 public void setSessTransacted(boolean sessTransacted) { 064 this.sessTransacted = sessTransacted; 065 } 066 067 public String getJmsProvider() { 068 return jmsProvider; 069 } 070 071 public void setJmsProvider(String jmsProvider) { 072 this.jmsProvider = jmsProvider; 073 } 074 075 public String getJmsVersion() { 076 return jmsVersion; 077 } 078 079 public void setJmsVersion(String jmsVersion) { 080 this.jmsVersion = jmsVersion; 081 } 082 083 public String getJmsProperties() { 084 return jmsProperties; 085 } 086 087 public void setJmsProperties(String jmsProperties) { 088 this.jmsProperties = jmsProperties; 089 } 090 }