1 18 package org.apache.activemq.command; 19 20 import org.apache.activemq.util.IntrospectionSupport; 21 22 27 public class JournalTrace implements DataStructure { 28 29 public static final byte DATA_STRUCTURE_TYPE=CommandTypes.JOURNAL_TRACE; 30 31 private String message; 32 33 public JournalTrace() { 34 35 } 36 public JournalTrace(String message) { 37 this.message = message; 38 } 39 40 public byte getDataStructureType() { 41 return DATA_STRUCTURE_TYPE; 42 } 43 44 47 public String getMessage() { 48 return message; 49 } 50 51 54 public void setMessage(String message) { 55 this.message = message; 56 } 57 58 public boolean isMarshallAware() { 59 return false; 60 } 61 62 public String toString() { 63 return IntrospectionSupport.toString(this, JournalTrace.class); 64 } 65 } 66 | Popular Tags |