@Deprecated public class ServerMessageImpl extends MessageInternalImpl implements ServerMessage
BYTES_TYPE, DEFAULT_TYPE, EMBEDDED_TYPE, HDR_ACTUAL_EXPIRY_TIME, HDR_BRIDGE_DUPLICATE_ID, HDR_CONTENT_TYPE, HDR_DUPLICATE_DETECTION_ID, HDR_GROUP_ID, HDR_LARGE_BODY_SIZE, HDR_LARGE_COMPRESSED, HDR_LAST_VALUE_NAME, HDR_ORIG_MESSAGE_ID, HDR_ORIGINAL_ADDRESS, HDR_ORIGINAL_QUEUE, HDR_PREFIX, HDR_ROUTE_TO_ACK_IDS, HDR_ROUTE_TO_IDS, HDR_ROUTING_TYPE, HDR_SCALEDOWN_TO_IDS, HDR_SCHEDULED_DELIVERY_TIME, HDR_VALIDATED_USER, MAP_TYPE, memoryOffset, OBJECT_TYPE, STREAM_TYPE, TEXT_TYPE| Constructor and Description |
|---|
ServerMessageImpl(Message message)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ServerMessage |
copy()
Deprecated.
It will generate a new instance of the message encode, being a deep copy, new properties, new everything
|
ServerMessage |
copy(long newID)
Deprecated.
It will generate a new instance of the message encode, being a deep copy, new properties, new everything
|
MessageReference |
createReference(Queue queue)
Deprecated.
|
int |
decrementDurableRefCount()
Deprecated.
|
int |
decrementRefCount()
Deprecated.
|
void |
encodeMessageIDToBuffer()
Deprecated.
|
void |
forceAddress(SimpleString address)
Deprecated.
This will force encoding of the address, and will re-check the buffer
This is to avoid setMessageTransient which set the address without changing the buffer
|
byte[] |
getDuplicateIDBytes()
Deprecated.
it will translate a property named HDR_DUPLICATE_DETECTION_ID.
|
Object |
getDuplicateProperty()
Deprecated.
|
ICoreMessage |
getICoreMessage()
Deprecated.
|
int |
getMemoryEstimate()
Deprecated.
|
PagingStore |
getPagingStore()
Deprecated.
|
int |
getRefCount()
Deprecated.
|
boolean |
hasInternalProperties()
Deprecated.
|
int |
incrementDurableRefCount()
Deprecated.
|
int |
incrementRefCount()
Deprecated.
|
boolean |
isValid()
Deprecated.
|
ServerMessage |
makeCopyForExpiryOrDLA(long newID,
MessageReference originalReference,
boolean expiry,
boolean copyOriginalHeaders)
Deprecated.
|
ServerMessage |
setMessageID(long id)
Deprecated.
|
void |
setOriginalHeaders(ServerMessage otherServerMessage,
MessageReference originalReference,
boolean expiry)
Deprecated.
|
void |
setPagingStore(PagingStore store)
Deprecated.
|
boolean |
storeIsPaging()
Deprecated.
|
bodyChanged, containsProperty, containsProperty, decodeFromBuffer, decodeHeadersAndProperties, encodeHeadersAndProperties, getAddress, getAddressSimpleString, getAnnotation, getBodyEncoder, getBodyInputStream, getBooleanProperty, getBooleanProperty, getBuffer, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getContext, getDoubleProperty, getDoubleProperty, getEncodedBuffer, getEncodeSize, getEndOfBodyPosition, getEndOfMessagePosition, getExpiration, getFloatProperty, getFloatProperty, getHeadersAndPropertiesEncodeSize, getIntProperty, getIntProperty, getLongProperty, getLongProperty, getMessageID, getObjectProperty, getObjectProperty, getPersistentSize, getPersister, getPersistSize, getPriority, getPropertyNames, getReplyTo, getScheduledDeliveryTime, getShortProperty, getShortProperty, getSimpleStringProperty, getSimpleStringProperty, getStringProperty, getStringProperty, getTimestamp, getTypedProperties, getUserID, getWholeBuffer, isDurable, isServerMessage, messageChanged, persist, putBooleanProperty, putBooleanProperty, putByteProperty, putByteProperty, putBytesProperty, putBytesProperty, putCharProperty, putCharProperty, putDoubleProperty, putDoubleProperty, putFloatProperty, putFloatProperty, putIntProperty, putIntProperty, putLongProperty, putLongProperty, putObjectProperty, putObjectProperty, putShortProperty, putShortProperty, putStringProperty, putStringProperty, putStringProperty, receiveBuffer, reloadPersistence, removeProperty, removeProperty, sendBuffer, setAddress, setAddress, setAddressTransient, setBuffer, setContext, setDurable, setExpiration, setPriority, setReplyTo, setTimestamp, setUserID, toCore, toCoreclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbodyChanged, decodeFromBuffer, decodeHeadersAndProperties, encodeHeadersAndProperties, getBodyEncoder, getBodyInputStream, getEncodedBuffer, getEndOfBodyPosition, getEndOfMessagePosition, getHeadersAndPropertiesEncodeSize, getTypedProperties, getWholeBuffer, isServerMessage, setAddressTransientacceptsConsumer, cleanupInternalProperties, containsProperty, containsProperty, getAddress, getAddressSimpleString, getAnnotation, getAnnotationString, getBodyBuffer, getBooleanProperty, getBooleanProperty, getBuffer, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getConnectionID, getContext, getDoubleProperty, getDoubleProperty, getEncodeSize, getExpiration, getExtraBytesProperty, getFloatProperty, getFloatProperty, getGroupID, getIntProperty, getIntProperty, getLastValueProperty, getLongProperty, getLongProperty, getMessageID, getObjectProperty, getObjectProperty, getPersistentSize, getPersister, getPersistSize, getPriority, getPropertyNames, getReplyTo, getRoutingType, getScheduledDeliveryTime, getShortProperty, getShortProperty, getSimpleStringProperty, getSimpleStringProperty, getStringProperty, getStringProperty, getTimestamp, getType, getUserID, getValidatedUserID, isDurable, isExpired, isLargeMessage, messageChanged, persist, putBooleanProperty, putBooleanProperty, putByteProperty, putByteProperty, putBytesProperty, putBytesProperty, putCharProperty, putCharProperty, putDoubleProperty, putDoubleProperty, putExtraBytesProperty, putFloatProperty, putFloatProperty, putIntProperty, putIntProperty, putLongProperty, putLongProperty, putObjectProperty, putObjectProperty, putShortProperty, putShortProperty, putStringProperty, putStringProperty, putStringProperty, receiveBuffer, reencode, referenceOriginalMessage, rejectConsumer, releaseBuffer, reloadPersistence, removeAnnotation, removeExtraBytesProperty, removeProperty, removeProperty, sendBuffer, setAddress, setAddress, setAnnotation, setBuffer, setConnectionID, setContext, setDurable, setExpiration, setLastValueProperty, setPriority, setReplyTo, setRoutingType, setScheduledDeliveryTime, setTimestamp, setType, setUserID, setValidatedUserID, toCore, toCore, toMap, toPropertyMappublic ServerMessageImpl(Message message)
public boolean isValid()
public ICoreMessage getICoreMessage()
getICoreMessage in interface ServerMessagepublic ServerMessage setMessageID(long id)
setMessageID in interface MessagesetMessageID in class MessageInternalImplpublic MessageReference createReference(Queue queue)
createReference in interface ServerMessagepublic void forceAddress(SimpleString address)
forceAddress in interface ServerMessageaddress - public int incrementRefCount()
throws Exception
incrementRefCount in interface MessageincrementRefCount in class MessageInternalImplExceptionpublic int decrementRefCount()
throws Exception
decrementRefCount in interface MessagedecrementRefCount in class MessageInternalImplExceptionpublic int incrementDurableRefCount()
incrementDurableRefCount in interface MessageincrementDurableRefCount in class MessageInternalImplpublic int decrementDurableRefCount()
decrementDurableRefCount in interface MessagedecrementDurableRefCount in class MessageInternalImplpublic ServerMessage copy(long newID)
MessageInternalImplcopy in interface Messagecopy in class MessageInternalImplpublic ServerMessage copy()
MessageInternalImplcopy in interface Messagecopy in class MessageInternalImplpublic int getMemoryEstimate()
getMemoryEstimate in interface MessagegetMemoryEstimate in class MessageInternalImplpublic int getRefCount()
getRefCount in interface MessagegetRefCount in class MessageInternalImplpublic ServerMessage makeCopyForExpiryOrDLA(long newID, MessageReference originalReference, boolean expiry, boolean copyOriginalHeaders) throws Exception
makeCopyForExpiryOrDLA in interface ServerMessageExceptionpublic void setOriginalHeaders(ServerMessage otherServerMessage, MessageReference originalReference, boolean expiry)
setOriginalHeaders in interface ServerMessagepublic void setPagingStore(PagingStore store)
setPagingStore in interface ServerMessagepublic PagingStore getPagingStore()
getPagingStore in interface ServerMessagepublic boolean hasInternalProperties()
hasInternalProperties in interface ServerMessagepublic boolean storeIsPaging()
storeIsPaging in interface ServerMessagepublic void encodeMessageIDToBuffer()
encodeMessageIDToBuffer in interface ServerMessagepublic byte[] getDuplicateIDBytes()
MessagegetDuplicateIDBytes in interface Messagepublic Object getDuplicateProperty()
getDuplicateProperty in interface MessageCopyright © 2019 JBoss by Red Hat. All rights reserved.