1 7 package org.jboss.jms.serverless; 8 9 import org.jboss.logging.Logger; 10 import java.io.Serializable ; 11 12 20 public class QueueCarrier implements Serializable { 21 22 static final long serialVersionUID = 214803107211354L; 23 24 private String sessionID; 25 private String queueReceiverID; 26 private javax.jms.Message jmsMessage; 27 28 public QueueCarrier(javax.jms.Message jmsMessage) { 29 this(null, null, jmsMessage); 30 } 31 32 33 public QueueCarrier(String sessionID, String queueReceiverID, javax.jms.Message jmsMessage) { 34 this.sessionID = sessionID; 35 this.queueReceiverID = queueReceiverID; 36 this.jmsMessage = jmsMessage; 37 } 38 39 public String getSessionID() { 40 return sessionID; 41 } 42 43 public void setSessionID(String id) { 44 sessionID = id; 45 } 46 47 public String getReceiverID() { 48 return queueReceiverID; 49 } 50 51 public void setReceiverID(String id) { 52 queueReceiverID = id; 53 } 54 55 public javax.jms.Message getJMSMessage() { 56 return jmsMessage; 57 } 58 } 59 | Popular Tags |