Class ServerMessageImpl
java.lang.Object
org.apache.activemq.artemis.core.message.impl.MessageInternalImpl
org.apache.activemq.artemis.core.server.transformer.ServerMessageImpl
- All Implemented Interfaces:
Message,MessageInternal,ServerMessage
Deprecated.
Do not use this class. It is for backwards compatibility with Artemis 1.x only.
-
Field Summary
Fields inherited from interface org.apache.activemq.artemis.api.core.Message
AMQP_PROPERTY_PREDICATE, 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_INGRESS_TIMESTAMP, HDR_LARGE_BODY_SIZE, HDR_LARGE_COMPRESSED, HDR_LAST_VALUE_NAME, HDR_ORIG_MESSAGE_ID, HDR_ORIG_ROUTING_TYPE, 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, PREFIX_AMQP_ANNOTATIONS, STREAM_TYPE, TEXT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Deprecated.It will generate a new instance of the message encode, being a deep copy, new properties, new everythingcopy(long newID) Deprecated.It will generate a new instance of the message encode, being a deep copy, new properties, new everythingcreateReference(Queue queue) Deprecated.intDeprecated.intDeprecated.voidDeprecated.voidforceAddress(SimpleString address) Deprecated.This will force encoding of the address, and will re-check the buffer.byte[]Deprecated.it will translate a property named HDR_DUPLICATE_DETECTION_ID.Deprecated.Deprecated.intDeprecated.Deprecated.intDeprecated.booleanisValid()Deprecated.makeCopyForExpiryOrDLA(long newID, MessageReference originalReference, boolean expiry, boolean copyOriginalHeaders) Deprecated.intrefDown()Deprecated.intrefUp()Deprecated.setMessageID(long id) Deprecated.voidsetOriginalHeaders(ServerMessage otherServerMessage, MessageReference originalReference, boolean expiry) Deprecated.voidsetPagingStore(PagingStore store) Deprecated.booleanDeprecated.Methods inherited from class org.apache.activemq.artemis.core.message.impl.MessageInternalImpl
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, getOwner, getPersistentSize, getPersister, getPersistSize, getPriority, getPropertyNames, getProtocolName, getReplyTo, getScheduledDeliveryTime, getShortProperty, getShortProperty, getSimpleStringProperty, getSimpleStringProperty, getStringProperty, getStringProperty, getTimestamp, getTypedProperties, getUsage, getUserContext, getUserID, getWholeBuffer, isDurable, isPaged, 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, setOwner, setPaged, setPriority, setReplyTo, setTimestamp, setUserContext, setUserID, toCore, toCore, usageDown, usageUpMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.api.core.Message
acceptsConsumer, clearAMQPProperties, clearInternalProperties, containsProperty, containsProperty, copy, getAddress, getAddressSimpleString, getAnnotation, getAnnotationString, getBodyBuffer, getBooleanProperty, getBooleanProperty, getBrokerProperty, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getConnectionID, getCorrelationID, getDoubleProperty, getDoubleProperty, getDurableCount, getEncodeSize, getExpiration, getExtraBytesProperty, getFloatProperty, getFloatProperty, getGroupID, getGroupSequence, getIngressTimestamp, getIntProperty, getIntProperty, getLastValueProperty, getLongProperty, getLongProperty, getMessageID, getObjectProperty, getObjectProperty, getObjectPropertyForFilter, getOriginalEstimate, getOwner, getPersistentSize, getPersister, getPersistSize, getPriority, getPropertyNames, getProtocolName, getReplyTo, getRoutingType, getScheduledDeliveryTime, getShortProperty, getShortProperty, getSimpleStringProperty, getSimpleStringProperty, getStringBody, getStringProperty, getStringProperty, getTimestamp, getType, getUsage, getUserContext, getUserID, getValidatedUserID, getWholeMessageSize, hasScheduledDeliveryTime, isDurable, isExpired, isLargeMessage, isPaged, 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, reloadPersistence, removeAnnotation, removeExtraBytesProperty, removeProperty, removeProperty, routed, sendBuffer, setAddress, setAddress, setAnnotation, setBrokerProperty, setConnectionID, setCorrelationID, setDurable, setExpiration, setGroupID, setGroupID, setGroupSequence, setIngressTimestamp, setLastValueProperty, setOwner, setPaged, setPriority, setReplyTo, setRoutingType, setScheduledDeliveryTime, setTimestamp, setType, setUserContext, setUserID, setValidatedUserID, toCompositeData, toCore, toCore, toMap, toMap, toPropertyMap, toPropertyMap, usageDown, usageUpMethods inherited from interface org.apache.activemq.artemis.core.message.impl.MessageInternal
bodyChanged, decodeFromBuffer, decodeHeadersAndProperties, encodeHeadersAndProperties, getBodyEncoder, getBodyInputStream, getEncodedBuffer, getEndOfBodyPosition, getEndOfMessagePosition, getHeadersAndPropertiesEncodeSize, getTypedProperties, getWholeBuffer, isServerMessage, setAddressTransient
-
Constructor Details
-
ServerMessageImpl
Deprecated.
-
-
Method Details
-
isValid
public boolean isValid()Deprecated. -
getICoreMessage
Deprecated.- Specified by:
getICoreMessagein interfaceServerMessage
-
setMessageID
Deprecated.- Specified by:
setMessageIDin interfaceMessage- Overrides:
setMessageIDin classMessageInternalImpl
-
createReference
Deprecated.- Specified by:
createReferencein interfaceServerMessage
-
forceAddress
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- Specified by:
forceAddressin interfaceServerMessage
-
refUp
public int refUp()Deprecated.- Specified by:
refUpin interfaceMessage- Overrides:
refUpin classMessageInternalImpl
-
refDown
public int refDown()Deprecated.- Specified by:
refDownin interfaceMessage- Overrides:
refDownin classMessageInternalImpl
-
durableUp
public int durableUp()Deprecated.- Specified by:
durableUpin interfaceMessage- Overrides:
durableUpin classMessageInternalImpl
-
durableDown
public int durableDown()Deprecated.- Specified by:
durableDownin interfaceMessage- Overrides:
durableDownin classMessageInternalImpl
-
copy
Deprecated.Description copied from interface:MessageIt will generate a new instance of the message encode, being a deep copy, new properties, new everything- Specified by:
copyin interfaceMessage- Overrides:
copyin classMessageInternalImpl
-
copy
Deprecated.Description copied from interface:MessageIt will generate a new instance of the message encode, being a deep copy, new properties, new everything- Specified by:
copyin interfaceMessage- Overrides:
copyin classMessageInternalImpl
-
getMemoryEstimate
public int getMemoryEstimate()Deprecated.- Specified by:
getMemoryEstimatein interfaceMessage- Overrides:
getMemoryEstimatein classMessageInternalImpl
-
getRefCount
public int getRefCount()Deprecated.- Specified by:
getRefCountin interfaceMessage- Overrides:
getRefCountin classMessageInternalImpl
-
makeCopyForExpiryOrDLA
public ServerMessage makeCopyForExpiryOrDLA(long newID, MessageReference originalReference, boolean expiry, boolean copyOriginalHeaders) throws Exception Deprecated.- Specified by:
makeCopyForExpiryOrDLAin interfaceServerMessage- Throws:
Exception
-
setOriginalHeaders
public void setOriginalHeaders(ServerMessage otherServerMessage, MessageReference originalReference, boolean expiry) Deprecated.- Specified by:
setOriginalHeadersin interfaceServerMessage
-
setPagingStore
Deprecated.- Specified by:
setPagingStorein interfaceServerMessage
-
getPagingStore
Deprecated.- Specified by:
getPagingStorein interfaceServerMessage
-
storeIsPaging
public boolean storeIsPaging()Deprecated.- Specified by:
storeIsPagingin interfaceServerMessage
-
encodeMessageIDToBuffer
public void encodeMessageIDToBuffer()Deprecated.- Specified by:
encodeMessageIDToBufferin interfaceServerMessage
-
getDuplicateIDBytes
public byte[] getDuplicateIDBytes()Deprecated.Description copied from interface:Messageit will translate a property named HDR_DUPLICATE_DETECTION_ID.- Specified by:
getDuplicateIDBytesin interfaceMessage
-
getDuplicateProperty
Deprecated.- Specified by:
getDuplicatePropertyin interfaceMessage
-