1 7 package org.jboss.jms.serverless; 8 9 import org.jboss.logging.Logger; 10 import javax.jms.Message ; 11 import javax.jms.JMSException ; 12 import javax.jms.Destination ; 13 import java.util.Enumeration ; 14 import java.io.Serializable ; 15 16 22 class MessageImpl implements Message , Serializable { 23 24 private static final Logger log = Logger.getLogger(MessageImpl.class); 25 26 static final long serialVersionUID = 29880310721131848L; 27 28 private String destination; 29 30 public Destination getJMSDestination() throws JMSException { 31 return Destinations.createDestination(destination); 32 } 33 34 public void setJMSDestination(Destination dest) throws JMSException { 35 destination = Destinations.stringRepresentation(dest); 36 } 37 38 public String getJMSMessageID() throws JMSException { 39 throw new NotImplementedException(); 40 } 41 42 public void setJMSMessageID(String id) throws JMSException { 43 throw new NotImplementedException(); 44 } 45 46 public long getJMSTimestamp() throws JMSException { 47 throw new NotImplementedException(); 48 } 49 50 public void setJMSTimestamp(long timestamp) throws JMSException { 51 throw new NotImplementedException(); 52 } 53 54 public byte [] getJMSCorrelationIDAsBytes() throws JMSException { 55 throw new NotImplementedException(); 56 } 57 58 public void setJMSCorrelationIDAsBytes(byte[] correlationID) throws JMSException { 59 throw new NotImplementedException(); 60 } 61 62 public void setJMSCorrelationID(String correlationID) throws JMSException { 63 throw new NotImplementedException(); 64 } 65 66 public String getJMSCorrelationID() throws JMSException { 67 throw new NotImplementedException(); 68 } 69 70 public Destination getJMSReplyTo() throws JMSException { 71 throw new NotImplementedException(); 72 } 73 74 public void setJMSReplyTo(Destination replyTo) throws JMSException { 75 throw new NotImplementedException(); 76 } 77 78 79 public int getJMSDeliveryMode() throws JMSException { 80 throw new NotImplementedException(); 81 } 82 83 public void setJMSDeliveryMode(int deliveryMode) throws JMSException { 84 throw new NotImplementedException(); 85 } 86 87 public boolean getJMSRedelivered() throws JMSException { 88 throw new NotImplementedException(); 89 } 90 91 public void setJMSRedelivered(boolean redelivered) throws JMSException { 92 throw new NotImplementedException(); 93 } 94 95 public String getJMSType() throws JMSException { 96 throw new NotImplementedException(); 97 } 98 99 public void setJMSType(String type) throws JMSException { 100 throw new NotImplementedException(); 101 } 102 103 public long getJMSExpiration() throws JMSException { 104 throw new NotImplementedException(); 105 } 106 107 public void setJMSExpiration(long expiration) throws JMSException { 108 throw new NotImplementedException(); 109 } 110 111 public int getJMSPriority() throws JMSException { 112 throw new NotImplementedException(); 113 } 114 115 public void setJMSPriority(int priority) throws JMSException { 116 throw new NotImplementedException(); 117 } 118 119 public void clearProperties() throws JMSException { 120 throw new NotImplementedException(); 121 } 122 123 public boolean propertyExists(String name) throws JMSException { 124 throw new NotImplementedException(); 125 } 126 127 public boolean getBooleanProperty(String name) throws JMSException { 128 throw new NotImplementedException(); 129 } 130 131 public byte getByteProperty(String name) throws JMSException { 132 throw new NotImplementedException(); 133 } 134 135 public short getShortProperty(String name) throws JMSException { 136 throw new NotImplementedException(); 137 } 138 139 public int getIntProperty(String name) throws JMSException { 140 throw new NotImplementedException(); 141 } 142 143 public long getLongProperty(String name) throws JMSException { 144 throw new NotImplementedException(); 145 } 146 147 public float getFloatProperty(String name) throws JMSException { 148 throw new NotImplementedException(); 149 } 150 151 public double getDoubleProperty(String name) throws JMSException { 152 throw new NotImplementedException(); 153 } 154 155 public String getStringProperty(String name) throws JMSException { 156 throw new NotImplementedException(); 157 } 158 159 public Object getObjectProperty(String name) throws JMSException { 160 throw new NotImplementedException(); 161 } 162 163 public Enumeration getPropertyNames() throws JMSException { 164 throw new NotImplementedException(); 165 } 166 167 public void setBooleanProperty(String name, boolean value) throws JMSException { 168 throw new NotImplementedException(); 169 } 170 171 public void setByteProperty(String name, byte value) throws JMSException { 172 throw new NotImplementedException(); 173 } 174 175 public void setShortProperty(String name, short value) throws JMSException { 176 throw new NotImplementedException(); 177 } 178 179 public void setIntProperty(String name, int value) throws JMSException { 180 throw new NotImplementedException(); 181 } 182 183 public void setLongProperty(String name, long value) throws JMSException { 184 throw new NotImplementedException(); 185 } 186 187 public void setFloatProperty(String name, float value) throws JMSException { 188 throw new NotImplementedException(); 189 } 190 191 public void setDoubleProperty(String name, double value) throws JMSException { 192 throw new NotImplementedException(); 193 } 194 195 public void setStringProperty(String name, String value) throws JMSException { 196 throw new NotImplementedException(); 197 } 198 199 public void setObjectProperty(String name, Object value) throws JMSException { 200 throw new NotImplementedException(); 201 } 202 203 public void acknowledge() throws JMSException { 204 throw new NotImplementedException(); 205 } 206 207 public void clearBody() throws JMSException { 208 throw new NotImplementedException(); 209 } 210 } 211 | Popular Tags |