Class MessageInternalImpl
java.lang.Object
org.apache.activemq.artemis.core.message.impl.MessageInternalImpl
- All Implemented Interfaces:
Message,MessageInternal
- Direct Known Subclasses:
ServerMessageImpl
Deprecated.
-
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 TypeMethodDescriptionvoidDeprecated.booleancontainsProperty(String key) Deprecated.booleanDeprecated.copy()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 everythingcopy(long newID, boolean isDLQorExpiry) Deprecated.It will generate a new instance of the message encode, being a deep copy, new properties, new everythingvoiddecodeFromBuffer(ActiveMQBuffer buffer) Deprecated.voidDeprecated.intDeprecated.intDeprecated.voidDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getBooleanProperty(String key) Deprecated.Deprecated.io.netty.buffer.ByteBufDeprecated.getByteProperty(String key) Deprecated.Deprecated.byte[]getBytesProperty(String key) Deprecated.byte[]Deprecated.getDoubleProperty(String key) Deprecated.Deprecated.intDeprecated.Deprecated.intDeprecated.Returns the size of the encoded message.intDeprecated.intDeprecated.longDeprecated.Returns the expiration time of this message.getFloatProperty(String key) Deprecated.Deprecated.intDeprecated.getIntProperty(String key) Deprecated.Deprecated.getLongProperty(String key) Deprecated.Deprecated.intDeprecated.longDeprecated.Returns the messageID; the messageID is set when the message is handled by the server.getObjectProperty(String key) Deprecated.Deprecated.getOwner()Deprecated.longDeprecated.This is the size of the message when persisted on disk which is used for metrics tracking Note that even if the message itself is not persisted on disk (ie non-durable) this value is still used for metrics tracking If a normal message it will be the encoded message size If a large message it will be encoded message size + large message body sizeDeprecated.intDeprecated.byteDeprecated.Returns the message priority; values range from 0 (less priority) to 9 (more priority) inclusive.Deprecated.Returns all the names of the properties for this message.Deprecated.intDeprecated.Deprecated.Deprecated.Used to calculate what is the delivery time.getShortProperty(String key) Deprecated.Deprecated.Deprecated.Deprecated.getStringProperty(String key) Deprecated.Deprecated.longDeprecated.Deprecated.intgetUsage()Deprecated.getUserContext(Object key) Deprecated.Used for user context data.Deprecated.This represents historically the JMSMessageID.Deprecated.booleanDeprecated.Returns whether this message is durable or not.booleanisPaged()Deprecated.booleanDeprecated.voidDeprecated.WARNING: Calling this method on a AMQPMessage will allow the non mutable part of the message to be modified.voidpersist(ActiveMQBuffer targetRecord) Deprecated.putBooleanProperty(String key, boolean value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputBooleanProperty(SimpleString key, boolean value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputByteProperty(String key, byte value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputByteProperty(SimpleString key, byte value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputBytesProperty(String key, byte[] value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputBytesProperty(SimpleString key, byte[] value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputCharProperty(String key, char value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputCharProperty(SimpleString key, char value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputDoubleProperty(String key, double value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputDoubleProperty(SimpleString key, double value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputFloatProperty(String key, float value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputFloatProperty(SimpleString key, float value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputIntProperty(String key, int value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputIntProperty(SimpleString key, int value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputLongProperty(String key, long value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputLongProperty(SimpleString key, long value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputObjectProperty(String key, Object value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputObjectProperty(SimpleString key, Object value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputShortProperty(String key, short value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputShortProperty(SimpleString key, short value) Deprecated.Callers must callMessage.reencode()in order to be sent to clientsputStringProperty(String key, String value) Deprecated.Puts a String property in this message.putStringProperty(SimpleString key, String value) Deprecated.putStringProperty(SimpleString key, SimpleString value) Deprecated.voidreceiveBuffer(io.netty.buffer.ByteBuf buffer) Deprecated.Used to receive this message from an encoded medium bufferintrefDown()Deprecated.intrefUp()Deprecated.voidreloadPersistence(ActiveMQBuffer record, CoreMessageObjectPools pools) Deprecated.removeProperty(String key) Deprecated.Deprecated.voidsendBuffer(io.netty.buffer.ByteBuf buffer, int deliveryCount) Deprecated.Used to send this message to an encoded medium buffer.setAddress(String address) Deprecated.Look atMessage.setAddress(SimpleString)for the doc.setAddress(SimpleString address) Deprecated.This will set the address on CoreMessage.voidsetAddressTransient(SimpleString address) Deprecated.setBuffer(io.netty.buffer.ByteBuf buffer) Deprecated.The buffer will belong to this message until release is called.setDurable(boolean durable) Deprecated.Sets whether this message is durable or not.setExpiration(long expiration) Deprecated.Sets the expiration of this message.setMessageID(long id) Deprecated.voidDeprecated.voidsetPaged()Deprecated.setPriority(byte priority) Deprecated.Sets the message priority.setReplyTo(SimpleString address) Deprecated.setTimestamp(long timestamp) Deprecated.voidsetUserContext(Object key, Object value) Deprecated.Used for user context data.Deprecated.toCore()Deprecated.This should make you convert your message into Core format.toCore(CoreMessageObjectPools coreMessageObjectPools) Deprecated.This should make you convert your message into Core format.intDeprecated.Opposite ofMessage.usageUp()intusageUp()Deprecated.This method indicates usage by components such as large message or page cache.Methods 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, getAnnotationString, getBodyBuffer, getBrokerProperty, getConnectionID, getCorrelationID, getDuplicateIDBytes, getDuplicateProperty, getExtraBytesProperty, getGroupID, getGroupSequence, getIngressTimestamp, getLastValueProperty, getObjectPropertyForFilter, getOriginalEstimate, getRoutingType, getStringBody, getType, getValidatedUserID, getWholeMessageSize, hasScheduledDeliveryTime, isExpired, isLargeMessage, putExtraBytesProperty, reencode, referenceOriginalMessage, rejectConsumer, removeAnnotation, removeExtraBytesProperty, routed, setAnnotation, setBrokerProperty, setConnectionID, setCorrelationID, setGroupID, setGroupID, setGroupSequence, setIngressTimestamp, setLastValueProperty, setRoutingType, setScheduledDeliveryTime, setType, setValidatedUserID, toCompositeData, toMap, toMap, toPropertyMap, toPropertyMap
-
Constructor Details
-
MessageInternalImpl
Deprecated.
-
-
Method Details
-
getProtocolName
Deprecated.- Specified by:
getProtocolNamein interfaceMessage
-
setPaged
public void setPaged()Deprecated. -
isPaged
public boolean isPaged()Deprecated. -
decodeFromBuffer
Deprecated.- Specified by:
decodeFromBufferin interfaceMessageInternal
-
getEndOfMessagePosition
public int getEndOfMessagePosition()Deprecated.- Specified by:
getEndOfMessagePositionin interfaceMessageInternal
-
getEndOfBodyPosition
public int getEndOfBodyPosition()Deprecated.- Specified by:
getEndOfBodyPositionin interfaceMessageInternal
-
bodyChanged
public void bodyChanged()Deprecated.- Specified by:
bodyChangedin interfaceMessageInternal
-
isServerMessage
public boolean isServerMessage()Deprecated.- Specified by:
isServerMessagein interfaceMessageInternal
-
getEncodedBuffer
Deprecated.- Specified by:
getEncodedBufferin interfaceMessageInternal
-
getHeadersAndPropertiesEncodeSize
public int getHeadersAndPropertiesEncodeSize()Deprecated.- Specified by:
getHeadersAndPropertiesEncodeSizein interfaceMessageInternal
-
getWholeBuffer
Deprecated.- Specified by:
getWholeBufferin interfaceMessageInternal
-
encodeHeadersAndProperties
Deprecated.- Specified by:
encodeHeadersAndPropertiesin interfaceMessageInternal
-
decodeHeadersAndProperties
Deprecated.- Specified by:
decodeHeadersAndPropertiesin interfaceMessageInternal
-
getBodyEncoder
Deprecated.- Specified by:
getBodyEncoderin interfaceMessageInternal- Throws:
ActiveMQException
-
getBodyInputStream
Deprecated.- Specified by:
getBodyInputStreamin interfaceMessage- Specified by:
getBodyInputStreamin interfaceMessageInternal
-
messageChanged
public void messageChanged()Deprecated.Description copied from interface:MessageWARNING: Calling this method on a AMQPMessage will allow the non mutable part of the message to be modified.- Specified by:
messageChangedin interfaceMessage
-
getScheduledDeliveryTime
Deprecated.Description copied from interface:MessageUsed to calculate what is the delivery time. Return null if not scheduled.- Specified by:
getScheduledDeliveryTimein interfaceMessage
-
getReplyTo
Deprecated.- Specified by:
getReplyToin interfaceMessage
-
setReplyTo
Deprecated.- Specified by:
setReplyToin interfaceMessage
-
setBuffer
Deprecated.The buffer will belong to this message until release is called. -
getBuffer
public io.netty.buffer.ByteBuf getBuffer()Deprecated. -
copy
Deprecated.Description copied from interface:MessageIt will generate a new instance of the message encode, being a deep copy, new properties, new everything -
copy
Deprecated.Description copied from interface:MessageIt will generate a new instance of the message encode, being a deep copy, new properties, new everything -
copy
Deprecated.Description copied from interface:MessageIt will generate a new instance of the message encode, being a deep copy, new properties, new everything -
getMessageID
public long getMessageID()Deprecated.Description copied from interface:MessageReturns the messageID; the messageID is set when the message is handled by the server.- Specified by:
getMessageIDin interfaceMessage- Returns:
- the messageID; the messageID is set when the message is handled by the server
-
setMessageID
Deprecated.- Specified by:
setMessageIDin interfaceMessage
-
getExpiration
public long getExpiration()Deprecated.Description copied from interface:MessageReturns the expiration time of this message.- Specified by:
getExpirationin interfaceMessage- Returns:
- the expiration time of this message
-
setExpiration
Deprecated.Description copied from interface:MessageSets the expiration of this message.- Specified by:
setExpirationin interfaceMessage- Parameters:
expiration- expiration time
-
getUserID
Deprecated.Description copied from interface:MessageThis represents historically the JMSMessageID. We had in the past used this for the MessageID that was sent on core messages...later on when we added AMQP this name clashed with AMQPMessage.getUserID();
-
setUserID
Deprecated. -
isDurable
public boolean isDurable()Deprecated.Description copied from interface:MessageReturns whether this message is durable or not. -
setDurable
Deprecated.Description copied from interface:MessageSets whether this message is durable or not.- Specified by:
setDurablein interfaceMessage- Parameters:
durable-trueto flag this message as durable,falseelse
-
getPersister
Deprecated.- Specified by:
getPersisterin interfaceMessage
-
getAddress
Deprecated.- Specified by:
getAddressin interfaceMessage
-
setAddress
Deprecated.Description copied from interface:MessageLook atMessage.setAddress(SimpleString)for the doc.- Specified by:
setAddressin interfaceMessage
-
getAddressSimpleString
Deprecated.- Specified by:
getAddressSimpleStringin interfaceMessage
-
setAddress
Deprecated.Description copied from interface:MessageThis will set the address on CoreMessage.Note for AMQPMessages: in AMQPMessages this will not really change the address on the message. Instead it will add a property on extraProperties which only transverse internally at the broker. Whatever you change here it won't affect anything towards the received message.
If you wish to change AMQPMessages address you will have to do it directly at the AMQP Message, however beware that AMQPMessages are not supposed to be changed at the broker, so only do it if you know what you are doing.
- Specified by:
setAddressin interfaceMessage
-
getTimestamp
public long getTimestamp()Deprecated.- Specified by:
getTimestampin interfaceMessage
-
setTimestamp
Deprecated.- Specified by:
setTimestampin interfaceMessage
-
getPriority
public byte getPriority()Deprecated.Description copied from interface:MessageReturns the message priority; values range from 0 (less priority) to 9 (more priority) inclusive.- Specified by:
getPriorityin interfaceMessage- Returns:
- the message priority; values range from 0 (less priority) to 9 (more priority) inclusive
-
setPriority
Deprecated.Description copied from interface:MessageSets the message priority.Value must be between 0 and 9 inclusive.
- Specified by:
setPriorityin interfaceMessage- Parameters:
priority- the new message priority
-
receiveBuffer
public void receiveBuffer(io.netty.buffer.ByteBuf buffer) Deprecated.Description copied from interface:MessageUsed to receive this message from an encoded medium buffer- Specified by:
receiveBufferin interfaceMessage
-
sendBuffer
public void sendBuffer(io.netty.buffer.ByteBuf buffer, int deliveryCount) Deprecated.Description copied from interface:MessageUsed to send this message to an encoded medium buffer.- Specified by:
sendBufferin interfaceMessage- Parameters:
buffer- the buffer used.deliveryCount- Some protocols (AMQP) will have this as part of the message.
-
getPersistSize
public int getPersistSize()Deprecated.- Specified by:
getPersistSizein interfaceMessage
-
persist
Deprecated. -
reloadPersistence
Deprecated.- Specified by:
reloadPersistencein interfaceMessage
-
putBooleanProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putBooleanPropertyin interfaceMessage
-
putByteProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putBytePropertyin interfaceMessage
-
putBytesProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putBytesPropertyin interfaceMessage
-
putShortProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putShortPropertyin interfaceMessage
-
putCharProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putCharPropertyin interfaceMessage
-
putIntProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putIntPropertyin interfaceMessage
-
putLongProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putLongPropertyin interfaceMessage
-
putFloatProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putFloatPropertyin interfaceMessage
-
putDoubleProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putDoublePropertyin interfaceMessage
-
putBooleanProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putBooleanPropertyin interfaceMessage
-
putByteProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putBytePropertyin interfaceMessage
-
putBytesProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putBytesPropertyin interfaceMessage
-
putShortProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putShortPropertyin interfaceMessage
-
putCharProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putCharPropertyin interfaceMessage
-
putIntProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putIntPropertyin interfaceMessage
-
putLongProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putLongPropertyin interfaceMessage
-
putFloatProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putFloatPropertyin interfaceMessage
-
putDoubleProperty
Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putDoublePropertyin interfaceMessage
-
putStringProperty
Deprecated.Puts a String property in this message.- Specified by:
putStringPropertyin interfaceMessage- Parameters:
key- property namevalue- property value
-
putObjectProperty
public Message putObjectProperty(String key, Object value) throws ActiveMQPropertyConversionException Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putObjectPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
putObjectProperty
public Message putObjectProperty(SimpleString key, Object value) throws ActiveMQPropertyConversionException Deprecated.Description copied from interface:MessageCallers must callMessage.reencode()in order to be sent to clients- Specified by:
putObjectPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
removeProperty
Deprecated.- Specified by:
removePropertyin interfaceMessage
-
containsProperty
Deprecated.- Specified by:
containsPropertyin interfaceMessage
-
getBooleanProperty
Deprecated.- Specified by:
getBooleanPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getByteProperty
Deprecated.- Specified by:
getBytePropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getDoubleProperty
Deprecated.- Specified by:
getDoublePropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getIntProperty
Deprecated.- Specified by:
getIntPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getLongProperty
Deprecated.- Specified by:
getLongPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getObjectProperty
Deprecated.- Specified by:
getObjectPropertyin interfaceMessage
-
getShortProperty
Deprecated.- Specified by:
getShortPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getFloatProperty
Deprecated.- Specified by:
getFloatPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getStringProperty
Deprecated.- Specified by:
getStringPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getSimpleStringProperty
Deprecated.- Specified by:
getSimpleStringPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getBytesProperty
Deprecated.- Specified by:
getBytesPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
removeProperty
Deprecated.- Specified by:
removePropertyin interfaceMessage
-
containsProperty
Deprecated.- Specified by:
containsPropertyin interfaceMessage
-
getBooleanProperty
Deprecated.- Specified by:
getBooleanPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getByteProperty
Deprecated.- Specified by:
getBytePropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getDoubleProperty
Deprecated.- Specified by:
getDoublePropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getIntProperty
Deprecated.- Specified by:
getIntPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getLongProperty
Deprecated.- Specified by:
getLongPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getObjectProperty
Deprecated.- Specified by:
getObjectPropertyin interfaceMessage
-
getAnnotation
Deprecated.- Specified by:
getAnnotationin interfaceMessage
-
getShortProperty
Deprecated.- Specified by:
getShortPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getFloatProperty
Deprecated.- Specified by:
getFloatPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getStringProperty
Deprecated.- Specified by:
getStringPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getSimpleStringProperty
public SimpleString getSimpleStringProperty(SimpleString key) throws ActiveMQPropertyConversionException Deprecated.- Specified by:
getSimpleStringPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
getBytesProperty
Deprecated.- Specified by:
getBytesPropertyin interfaceMessage- Throws:
ActiveMQPropertyConversionException
-
putStringProperty
Deprecated.- Specified by:
putStringPropertyin interfaceMessage
-
putStringProperty
Deprecated.- Specified by:
putStringPropertyin interfaceMessage
-
getEncodeSize
public int getEncodeSize()Deprecated.Description copied from interface:MessageReturns the size of the encoded message.- Specified by:
getEncodeSizein interfaceMessage- Returns:
- the size of the encoded message
-
getPropertyNames
Deprecated.Description copied from interface:MessageReturns all the names of the properties for this message.- Specified by:
getPropertyNamesin interfaceMessage- Returns:
- all the names of the properties for this message
-
getRefCount
public int getRefCount()Deprecated.- Specified by:
getRefCountin interfaceMessage
-
getDurableCount
public int getDurableCount()Deprecated.- Specified by:
getDurableCountin interfaceMessage
-
refUp
public int refUp()Deprecated. -
refDown
public int refDown()Deprecated. -
usageUp
public int usageUp()Deprecated.Description copied from interface:MessageThis method indicates usage by components such as large message or page cache. This method will cause large messages to be held longer after the ack happened for instance. -
usageDown
public int usageDown()Deprecated.Description copied from interface:MessageOpposite ofMessage.usageUp() -
getUsage
public int getUsage()Deprecated. -
durableUp
public int durableUp()Deprecated. -
durableDown
public int durableDown()Deprecated.- Specified by:
durableDownin interfaceMessage
-
toCore
Deprecated.Description copied from interface:MessageThis should make you convert your message into Core format. -
toCore
Deprecated.Description copied from interface:MessageThis should make you convert your message into Core format. -
getMemoryEstimate
public int getMemoryEstimate()Deprecated.- Specified by:
getMemoryEstimatein interfaceMessage
-
setAddressTransient
Deprecated.- Specified by:
setAddressTransientin interfaceMessageInternal
-
getTypedProperties
Deprecated.- Specified by:
getTypedPropertiesin interfaceMessageInternal
-
getPersistentSize
Deprecated.Description copied from interface:MessageThis is the size of the message when persisted on disk which is used for metrics tracking Note that even if the message itself is not persisted on disk (ie non-durable) this value is still used for metrics tracking If a normal message it will be the encoded message size If a large message it will be encoded message size + large message body size- Specified by:
getPersistentSizein interfaceMessage- Throws:
ActiveMQException
-
getOwner
Deprecated. -
setOwner
Deprecated. -
getUserContext
Deprecated.Description copied from interface:MessageUsed for user context data. Useful on interceptors.- Specified by:
getUserContextin interfaceMessage
-
setUserContext
Deprecated.Description copied from interface:MessageUsed for user context data. Useful on interceptors.- Specified by:
setUserContextin interfaceMessage
-