1 /**
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.apache.geronimo.console.jmsmanager;
18
19
20 /**
21 * @version $Rev: 813742 $ $Date: 2009-09-11 02:38:26 -0700 (Fri, 11 Sep 2009) $
22 */
23 public class JMSMessageInfo{
24
25 private String correlationId;
26 private boolean isPersistent;
27 private String replyTo;
28 private int priority;
29 private String jmsType;
30 private String message;
31 private String messageID;
32 private long timeStamp;
33 private String destination;
34 private long expiration;
35
36
37 public long getExpiration() {
38 return expiration;
39 }
40
41 public void setExpiration(long expiration) {
42 this.expiration = expiration;
43 }
44
45 public String getDestination() {
46 return destination;
47 }
48
49 public void setDestination(String destination) {
50 this.destination = destination;
51 }
52
53 public String getMessageID() {
54 return messageID;
55 }
56
57 public void setMessageId(String messageID) {
58 this.messageID = messageID;
59 }
60
61 public long getTimeStamp() {
62 return timeStamp;
63 }
64
65 public void setTimeStamp(long timeStamp) {
66 this.timeStamp = timeStamp;
67 }
68
69 public String getMessage() {
70 return message;
71 }
72
73 public void setMessage(String message) {
74 this.message = message;
75 }
76
77 public String getCorrelationId() {
78 return correlationId;
79 }
80
81 public void setCorrelationId(String correlationId) {
82 this.correlationId = correlationId;
83 }
84
85 public boolean isPersistent() {
86 return isPersistent;
87 }
88
89 public void setPersistent(boolean isPersistent) {
90 this.isPersistent = isPersistent;
91 }
92
93 public String getJmsType() {
94 return jmsType;
95 }
96
97 public void setJmsType(String jmsType) {
98 this.jmsType = jmsType;
99 }
100
101 public int getPriority() {
102 return priority;
103 }
104
105 public void setPriority(int priority) {
106 this.priority = priority;
107 }
108
109 public String getReplyTo() {
110 return replyTo;
111 }
112
113 public void setReplyTo(String replyTo) {
114 this.replyTo = replyTo;
115 }
116 }