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: 764 $
$Id: CoreMessage.java 764 2006-03-22 10:23:38Z timfox $
- 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, 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, decrementDeliveryCount, getDeliveryCount, getExpiration, getHeader, getHeaderNames, getMessageID, getPriority, getTimestamp, incrementDeliveryCount, internalReadObject, internalWriteObject, isExpired, isReliable, putHeader, readList, readMap, removeHeader, setDeliveryCount, setPriority, setReliable, 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, decrementDeliveryCount, getDeliveryCount, getExpiration, getHeader, getHeaderNames, getMessageID, getPriority, getTimestamp, incrementDeliveryCount, isExpired, isReliable, putHeader, removeHeader, setDeliveryCount, setPriority, setReliable |
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.