1 18 package org.apache.activemq.command; 19 20 import org.apache.activemq.util.IntrospectionSupport; 21 22 27 public class JournalTopicAck implements DataStructure { 28 29 public static final byte DATA_STRUCTURE_TYPE=CommandTypes.JOURNAL_ACK; 30 31 ActiveMQDestination destination; 32 String clientId; 33 String subscritionName; 34 MessageId messageId; 35 long messageSequenceId; 36 TransactionId transactionId; 37 38 39 public byte getDataStructureType() { 40 return DATA_STRUCTURE_TYPE; 41 } 42 43 46 public ActiveMQDestination getDestination() { 47 return destination; 48 } 49 50 public void setDestination(ActiveMQDestination destination) { 51 this.destination = destination; 52 } 53 54 57 public MessageId getMessageId() { 58 return messageId; 59 } 60 61 public void setMessageId(MessageId messageId) { 62 this.messageId = messageId; 63 } 64 65 68 public long getMessageSequenceId() { 69 return messageSequenceId; 70 } 71 72 public void setMessageSequenceId(long messageSequenceId) { 73 this.messageSequenceId = messageSequenceId; 74 } 75 76 79 public String getSubscritionName() { 80 return subscritionName; 81 } 82 83 public void setSubscritionName(String subscritionName) { 84 this.subscritionName = subscritionName; 85 } 86 87 90 public String getClientId() { 91 return clientId; 92 } 93 94 public void setClientId(String clientId) { 95 this.clientId = clientId; 96 } 97 98 101 public TransactionId getTransactionId() { 102 return transactionId; 103 } 104 105 public void setTransactionId(TransactionId transaction) { 106 this.transactionId = transaction; 107 } 108 109 public boolean isMarshallAware() { 110 return false; 111 } 112 113 public String toString() { 114 return IntrospectionSupport.toString(this, JournalTopicAck.class); 115 } 116 } 117 | Popular Tags |