org.jboss.messaging.core.message
Class CoreMessage
java.lang.Object
org.jboss.messaging.core.message.RoutableSupport
org.jboss.messaging.core.message.MessageSupport
org.jboss.messaging.core.message.CoreMessage
- All Implemented Interfaces:
- java.io.Externalizable, Message, Routable, java.io.Serializable
- public class CoreMessage
- extends MessageSupport
- Version:
- $Revision: 1.3 $
$Id: CoreMessage.java,v 1.3 2006/03/22 10:23:34 timfox Exp $
- Author:
- Ovidiu Feodorov, Tim Fox
- See Also:
- Serialized Form
|
Field Summary |
static byte |
TYPE
|
| Fields inherited from class org.jboss.messaging.core.message.RoutableSupport |
BOOLEAN, BYTE, BYTES, deliveryCount, DOUBLE, expiration, FLOAT, headers, INT, LIST, LONG, MAP, messageID, NULL, OBJECT, priority, redelivered, reliable, SHORT, STRING, timestamp |
|
Constructor Summary |
CoreMessage()
Required by externalization. |
CoreMessage(long messageID,
boolean reliable,
long expiration,
long timestamp,
byte priority,
java.util.Map headers,
byte[] payload,
int persistentChannelCount)
|
|
Method Summary |
java.lang.String |
toString()
|
| Methods inherited from class org.jboss.messaging.core.message.MessageSupport |
clearPayloadAsByteArray, copyPayloadAsByteArrayToPayload, decPersistentChannelCount, equals, getHeaders, getMessage, getPayload, getPayloadAsByteArray, getPersistentChannelCount, hashCode, incPersistentChannelCount, isReference, readExternal, readPayloadExternal, setPayload, writeExternal, writePayloadExternal |
| Methods inherited from class org.jboss.messaging.core.message.RoutableSupport |
containsHeader, getDeliveryCount, getExpiration, getHeader, getHeaderNames, getMessageID, getPriority, getTimestamp, incrementDeliveryCount, internalReadObject, internalWriteObject, isExpired, isRedelivered, isReliable, putHeader, readList, readMap, removeHeader, setDeliveryCount, setPriority, setRedelivered, writeList, writeMap |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.messaging.core.Routable |
containsHeader, getDeliveryCount, getExpiration, getHeader, getHeaderNames, getMessageID, getPriority, getTimestamp, incrementDeliveryCount, isExpired, isRedelivered, isReliable, putHeader, removeHeader, setDeliveryCount, setPriority, setRedelivered |
TYPE
public static final byte TYPE
- See Also:
- Constant Field Values
CoreMessage
public CoreMessage()
- Required by externalization.
CoreMessage
public CoreMessage(long messageID,
boolean reliable,
long expiration,
long timestamp,
byte priority,
java.util.Map headers,
byte[] payload,
int persistentChannelCount)
toString
public java.lang.String toString()
- Overrides:
toString in class MessageSupport
Copyright © 2006 JBoss Inc. All Rights Reserved.