@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, INTERNAL_PROPERTY_NAMES_PREDICATE, LARGE_EMBEDDED_TYPE, 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 |
durableDown()
Deprecated.
|
int |
durableUp()
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 |
isValid()
Deprecated.
|
ServerMessage |
makeCopyForExpiryOrDLA(long newID,
MessageReference originalReference,
boolean expiry,
boolean copyOriginalHeaders)
Deprecated.
|
int |
refDown()
Deprecated.
|
int |
refUp()
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, copy, decodeFromBuffer, decodeHeadersAndProperties, encodeHeadersAndProperties, getAddress, getAddressSimpleString, getAnnotation, getBodyEncoder, getBodyInputStream, getBooleanProperty, getBooleanProperty, getBuffer, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getDoubleProperty, getDoubleProperty, getDurableCount, 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, getUsage, 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, setDurable, setExpiration, setPriority, setReplyTo, setTimestamp, setUserID, toCore, toCore, usageDown, usageUp
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, copy, getAddress, getAddressSimpleString, getAnnotation, getAnnotationString, getBodyBuffer, getBooleanProperty, getBooleanProperty, getBrokerProperty, getBuffer, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getConnectionID, getCorrelationID, getDoubleProperty, getDoubleProperty, getDurableCount, getEncodeSize, getExpiration, getExtraBytesProperty, getFloatProperty, getFloatProperty, getGroupID, getGroupSequence, getIntProperty, getIntProperty, getLastValueProperty, getLongProperty, getLongProperty, getMessageID, getObjectProperty, getObjectProperty, getObjectPropertyForFilter, getPersistentSize, getPersister, getPersistSize, getPriority, getPropertyNames, getReplyTo, getRoutingType, getScheduledDeliveryTime, getShortProperty, getShortProperty, getSimpleStringProperty, getSimpleStringProperty, getStringProperty, getStringProperty, getTimestamp, getType, getUsage, getUserID, getValidatedUserID, getWholeMessageSize, hasScheduledDeliveryTime, 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, setBrokerProperty, setBuffer, setConnectionID, setCorrelationID, setDurable, setExpiration, setGroupID, setGroupID, setGroupSequence, setLastValueProperty, setPriority, setReplyTo, setRoutingType, setScheduledDeliveryTime, setTimestamp, setType, setUserID, setValidatedUserID, toCore, toCore, toMap, toPropertyMap, usageDown, usageUp
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 refUp()
refUp
in interface Message
refUp
in class MessageInternalImpl
public int refDown()
refDown
in interface Message
refDown
in class MessageInternalImpl
public int durableUp()
durableUp
in interface Message
durableUp
in class MessageInternalImpl
public int durableDown()
durableDown
in interface Message
durableDown
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 © 2021 JBoss by Red Hat. All rights reserved.