@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_GROUP_SEQUENCE, 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.
|
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, toCore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bodyChanged, decodeFromBuffer, decodeHeadersAndProperties, encodeHeadersAndProperties, getBodyEncoder, getBodyInputStream, getEncodedBuffer, getEndOfBodyPosition, getEndOfMessagePosition, getHeadersAndPropertiesEncodeSize, getTypedProperties, getWholeBuffer, isServerMessage, setAddressTransient
acceptsConsumer, clearInternalProperties, containsProperty, containsProperty, getAddress, getAddressSimpleString, getAnnotation, getAnnotationString, getBodyBuffer, getBooleanProperty, getBooleanProperty, getBuffer, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getConnectionID, getContext, getCorrelationID, getDoubleProperty, getDoubleProperty, getEncodeSize, getExpiration, getExtraBytesProperty, getFloatProperty, getFloatProperty, getGroupID, getGroupSequence, 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, setCorrelationID, setDurable, setExpiration, setGroupID, setGroupID, setGroupSequence, setLastValueProperty, setPriority, setReplyTo, setRoutingType, setScheduledDeliveryTime, setTimestamp, setType, setUserID, setValidatedUserID, toCore, toCore, toMap, toPropertyMap
public ServerMessageImpl(Message message)
public boolean isValid()
public ICoreMessage getICoreMessage()
getICoreMessage
in interface ServerMessage
public ServerMessage setMessageID(long id)
setMessageID
in interface Message
setMessageID
in class MessageInternalImpl
public MessageReference createReference(Queue queue)
createReference
in interface ServerMessage
public void forceAddress(SimpleString address)
forceAddress
in interface ServerMessage
address
- public int incrementRefCount() throws Exception
incrementRefCount
in interface Message
incrementRefCount
in class MessageInternalImpl
Exception
public int decrementRefCount() throws Exception
decrementRefCount
in interface Message
decrementRefCount
in class MessageInternalImpl
Exception
public int incrementDurableRefCount()
incrementDurableRefCount
in interface Message
incrementDurableRefCount
in class MessageInternalImpl
public int decrementDurableRefCount()
decrementDurableRefCount
in interface Message
decrementDurableRefCount
in class MessageInternalImpl
public ServerMessage copy(long newID)
MessageInternalImpl
copy
in interface Message
copy
in class MessageInternalImpl
public ServerMessage copy()
MessageInternalImpl
copy
in interface Message
copy
in class MessageInternalImpl
public int getMemoryEstimate()
getMemoryEstimate
in interface Message
getMemoryEstimate
in class MessageInternalImpl
public int getRefCount()
getRefCount
in interface Message
getRefCount
in class MessageInternalImpl
public ServerMessage makeCopyForExpiryOrDLA(long newID, MessageReference originalReference, boolean expiry, boolean copyOriginalHeaders) throws Exception
makeCopyForExpiryOrDLA
in interface ServerMessage
Exception
public void setOriginalHeaders(ServerMessage otherServerMessage, MessageReference originalReference, boolean expiry)
setOriginalHeaders
in interface ServerMessage
public void setPagingStore(PagingStore store)
setPagingStore
in interface ServerMessage
public PagingStore getPagingStore()
getPagingStore
in interface ServerMessage
public boolean storeIsPaging()
storeIsPaging
in interface ServerMessage
public void encodeMessageIDToBuffer()
encodeMessageIDToBuffer
in interface ServerMessage
public byte[] getDuplicateIDBytes()
Message
getDuplicateIDBytes
in interface Message
public Object getDuplicateProperty()
getDuplicateProperty
in interface Message
Copyright © 2019 JBoss by Red Hat. All rights reserved.