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: */package org.apache.openejb.jee.jba;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlElement;
021: import javax.xml.bind.annotation.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: *
026: */
027: @XmlAccessorType(XmlAccessType.FIELD)
028: @XmlType(name="",propOrder={"destinationQueue","maxTimesRedelivered","timeToLive","dlqUser","dlqPassword"})
029: @XmlRootElement(name="DLQConfig")
030: public class DLQConfig {
031:
032: @XmlElement(name="DestinationQueue",required=true)
033: protected String destinationQueue;
034: @XmlElement(name="MaxTimesRedelivered",required=true)
035: protected String maxTimesRedelivered;
036: @XmlElement(name="TimeToLive",required=true)
037: protected String timeToLive;
038: @XmlElement(name="DLQUser")
039: protected String dlqUser;
040: @XmlElement(name="DLQPassword")
041: protected String dlqPassword;
042:
043: /**
044: * Gets the value of the destinationQueue property.
045: *
046: * @return
047: * possible object is
048: * {@link String }
049: *
050: */
051: public String getDestinationQueue() {
052: return destinationQueue;
053: }
054:
055: /**
056: * Sets the value of the destinationQueue property.
057: *
058: * @param value
059: * allowed object is
060: * {@link String }
061: *
062: */
063: public void setDestinationQueue(String value) {
064: this .destinationQueue = value;
065: }
066:
067: /**
068: * Gets the value of the maxTimesRedelivered property.
069: *
070: * @return
071: * possible object is
072: * {@link String }
073: *
074: */
075: public String getMaxTimesRedelivered() {
076: return maxTimesRedelivered;
077: }
078:
079: /**
080: * Sets the value of the maxTimesRedelivered property.
081: *
082: * @param value
083: * allowed object is
084: * {@link String }
085: *
086: */
087: public void setMaxTimesRedelivered(String value) {
088: this .maxTimesRedelivered = value;
089: }
090:
091: /**
092: * Gets the value of the timeToLive property.
093: *
094: * @return
095: * possible object is
096: * {@link String }
097: *
098: */
099: public String getTimeToLive() {
100: return timeToLive;
101: }
102:
103: /**
104: * Sets the value of the timeToLive property.
105: *
106: * @param value
107: * allowed object is
108: * {@link String }
109: *
110: */
111: public void setTimeToLive(String value) {
112: this .timeToLive = value;
113: }
114:
115: /**
116: * Gets the value of the dlqUser property.
117: *
118: * @return
119: * possible object is
120: * {@link String }
121: *
122: */
123: public String getDLQUser() {
124: return dlqUser;
125: }
126:
127: /**
128: * Sets the value of the dlqUser property.
129: *
130: * @param value
131: * allowed object is
132: * {@link String }
133: *
134: */
135: public void setDLQUser(String value) {
136: this .dlqUser = value;
137: }
138:
139: /**
140: * Gets the value of the dlqPassword property.
141: *
142: * @return
143: * possible object is
144: * {@link String }
145: *
146: */
147: public String getDLQPassword() {
148: return dlqPassword;
149: }
150:
151: /**
152: * Sets the value of the dlqPassword property.
153: *
154: * @param value
155: * allowed object is
156: * {@link String }
157: *
158: */
159: public void setDLQPassword(String value) {
160: this.dlqPassword = value;
161: }
162:
163: }
|