Class OpenwireMessage
- java.lang.Object
-
- org.apache.activemq.artemis.core.protocol.openwire.OpenwireMessage
-
- All Implemented Interfaces:
org.apache.activemq.artemis.api.core.Message
public class OpenwireMessage extends java.lang.Object implements org.apache.activemq.artemis.api.core.Message
-
-
Field Summary
-
Fields inherited from interface org.apache.activemq.artemis.api.core.Message
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, STREAM_TYPE, TEXT_TYPE
-
-
Constructor Summary
Constructors Constructor Description OpenwireMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsProperty(java.lang.String key)booleancontainsProperty(org.apache.activemq.artemis.api.core.SimpleString key)org.apache.activemq.artemis.api.core.Messagecopy()org.apache.activemq.artemis.api.core.Messagecopy(long newID)intdurableDown()intdurableUp()java.lang.StringgetAddress()org.apache.activemq.artemis.api.core.SimpleStringgetAddressSimpleString()java.lang.ObjectgetAnnotation(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.BooleangetBooleanProperty(java.lang.String key)java.lang.BooleangetBooleanProperty(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.BytegetByteProperty(java.lang.String key)java.lang.BytegetByteProperty(org.apache.activemq.artemis.api.core.SimpleString key)byte[]getBytesProperty(java.lang.String key)byte[]getBytesProperty(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.DoublegetDoubleProperty(java.lang.String key)java.lang.DoublegetDoubleProperty(org.apache.activemq.artemis.api.core.SimpleString key)intgetDurableCount()intgetEncodeSize()longgetExpiration()java.lang.FloatgetFloatProperty(java.lang.String key)java.lang.FloatgetFloatProperty(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.IntegergetIntProperty(java.lang.String key)java.lang.IntegergetIntProperty(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.LonggetLongProperty(java.lang.String key)java.lang.LonggetLongProperty(org.apache.activemq.artemis.api.core.SimpleString key)intgetMemoryEstimate()longgetMessageID()java.lang.ObjectgetObjectProperty(java.lang.String key)java.lang.ObjectgetObjectProperty(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.ObjectgetOwner()longgetPersistentSize()org.apache.activemq.artemis.core.persistence.Persister<org.apache.activemq.artemis.api.core.Message>getPersister()intgetPersistSize()bytegetPriority()java.util.Set<org.apache.activemq.artemis.api.core.SimpleString>getPropertyNames()java.lang.StringgetProtocolName()intgetRefCount()org.apache.activemq.artemis.api.core.SimpleStringgetReplyTo()java.lang.LonggetScheduledDeliveryTime()java.lang.ShortgetShortProperty(java.lang.String key)java.lang.ShortgetShortProperty(org.apache.activemq.artemis.api.core.SimpleString key)org.apache.activemq.artemis.api.core.SimpleStringgetSimpleStringProperty(java.lang.String key)org.apache.activemq.artemis.api.core.SimpleStringgetSimpleStringProperty(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.StringgetStringProperty(java.lang.String key)java.lang.StringgetStringProperty(org.apache.activemq.artemis.api.core.SimpleString key)longgetTimestamp()intgetUsage()java.lang.ObjectgetUserContext(java.lang.Object key)java.lang.ObjectgetUserID()booleanisDurable()voidmessageChanged()voidpersist(org.apache.activemq.artemis.api.core.ActiveMQBuffer targetRecord)org.apache.activemq.artemis.api.core.MessageputBooleanProperty(java.lang.String key, boolean value)org.apache.activemq.artemis.api.core.MessageputBooleanProperty(org.apache.activemq.artemis.api.core.SimpleString key, boolean value)org.apache.activemq.artemis.api.core.MessageputByteProperty(java.lang.String key, byte value)org.apache.activemq.artemis.api.core.MessageputByteProperty(org.apache.activemq.artemis.api.core.SimpleString key, byte value)org.apache.activemq.artemis.api.core.MessageputBytesProperty(java.lang.String key, byte[] value)org.apache.activemq.artemis.api.core.MessageputBytesProperty(org.apache.activemq.artemis.api.core.SimpleString key, byte[] value)org.apache.activemq.artemis.api.core.MessageputCharProperty(java.lang.String key, char value)org.apache.activemq.artemis.api.core.MessageputCharProperty(org.apache.activemq.artemis.api.core.SimpleString key, char value)org.apache.activemq.artemis.api.core.MessageputDoubleProperty(java.lang.String key, double value)org.apache.activemq.artemis.api.core.MessageputDoubleProperty(org.apache.activemq.artemis.api.core.SimpleString key, double value)org.apache.activemq.artemis.api.core.MessageputFloatProperty(java.lang.String key, float value)org.apache.activemq.artemis.api.core.MessageputFloatProperty(org.apache.activemq.artemis.api.core.SimpleString key, float value)org.apache.activemq.artemis.api.core.MessageputIntProperty(java.lang.String key, int value)org.apache.activemq.artemis.api.core.MessageputIntProperty(org.apache.activemq.artemis.api.core.SimpleString key, int value)org.apache.activemq.artemis.api.core.MessageputLongProperty(java.lang.String key, long value)org.apache.activemq.artemis.api.core.MessageputLongProperty(org.apache.activemq.artemis.api.core.SimpleString key, long value)org.apache.activemq.artemis.api.core.MessageputObjectProperty(java.lang.String key, java.lang.Object value)org.apache.activemq.artemis.api.core.MessageputObjectProperty(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.Object value)org.apache.activemq.artemis.api.core.MessageputShortProperty(java.lang.String key, short value)org.apache.activemq.artemis.api.core.MessageputShortProperty(org.apache.activemq.artemis.api.core.SimpleString key, short value)org.apache.activemq.artemis.api.core.MessageputStringProperty(java.lang.String key, java.lang.String value)org.apache.activemq.artemis.api.core.MessageputStringProperty(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.String value)org.apache.activemq.artemis.api.core.MessageputStringProperty(org.apache.activemq.artemis.api.core.SimpleString key, org.apache.activemq.artemis.api.core.SimpleString value)voidreceiveBuffer(io.netty.buffer.ByteBuf buffer)intrefDown()intrefUp()voidreloadPersistence(org.apache.activemq.artemis.api.core.ActiveMQBuffer record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools)java.lang.ObjectremoveAnnotation(org.apache.activemq.artemis.api.core.SimpleString key)java.lang.ObjectremoveProperty(java.lang.String key)java.lang.ObjectremoveProperty(org.apache.activemq.artemis.api.core.SimpleString key)voidsendBuffer(io.netty.buffer.ByteBuf buffer, int deliveryCount)org.apache.activemq.artemis.api.core.MessagesetAddress(java.lang.String address)org.apache.activemq.artemis.api.core.MessagesetAddress(org.apache.activemq.artemis.api.core.SimpleString address)org.apache.activemq.artemis.api.core.MessagesetDurable(boolean durable)org.apache.activemq.artemis.api.core.MessagesetExpiration(long expiration)org.apache.activemq.artemis.api.core.MessagesetMessageID(long id)voidsetOwner(java.lang.Object object)org.apache.activemq.artemis.api.core.MessagesetPriority(byte priority)org.apache.activemq.artemis.api.core.MessagesetReplyTo(org.apache.activemq.artemis.api.core.SimpleString address)org.apache.activemq.artemis.api.core.MessagesetTimestamp(long timestamp)voidsetUserContext(java.lang.Object key, java.lang.Object value)org.apache.activemq.artemis.api.core.MessagesetUserID(java.lang.Object userID)org.apache.activemq.artemis.api.core.ICoreMessagetoCore()org.apache.activemq.artemis.api.core.ICoreMessagetoCore(org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)intusageDown()intusageUp()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.api.core.Message
acceptsConsumer, clearInternalProperties, copy, getAnnotationString, getBodyBuffer, getBodyInputStream, getBrokerProperty, getConnectionID, getCorrelationID, getDuplicateIDBytes, getDuplicateProperty, getExtraBytesProperty, getGroupID, getGroupSequence, getIngressTimestamp, getLastValueProperty, getObjectPropertyForFilter, getRoutingType, getStringBody, getType, getValidatedUserID, getWholeMessageSize, hasScheduledDeliveryTime, isExpired, isLargeMessage, putExtraBytesProperty, reencode, referenceOriginalMessage, rejectConsumer, removeExtraBytesProperty, setAnnotation, setBrokerProperty, setConnectionID, setCorrelationID, setGroupID, setGroupID, setGroupSequence, setIngressTimestamp, setLastValueProperty, setRoutingType, setScheduledDeliveryTime, setType, setValidatedUserID, toCompositeData, toMap, toMap, toPropertyMap, toPropertyMap
-
-
-
-
Method Detail
-
getProtocolName
public java.lang.String getProtocolName()
- Specified by:
getProtocolNamein interfaceorg.apache.activemq.artemis.api.core.Message
-
containsProperty
public boolean containsProperty(org.apache.activemq.artemis.api.core.SimpleString key)
- Specified by:
containsPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
messageChanged
public void messageChanged()
- Specified by:
messageChangedin interfaceorg.apache.activemq.artemis.api.core.Message
-
getReplyTo
public org.apache.activemq.artemis.api.core.SimpleString getReplyTo()
- Specified by:
getReplyToin interfaceorg.apache.activemq.artemis.api.core.Message
-
setReplyTo
public org.apache.activemq.artemis.api.core.Message setReplyTo(org.apache.activemq.artemis.api.core.SimpleString address)
- Specified by:
setReplyToin interfaceorg.apache.activemq.artemis.api.core.Message
-
removeAnnotation
public java.lang.Object removeAnnotation(org.apache.activemq.artemis.api.core.SimpleString key)
- Specified by:
removeAnnotationin interfaceorg.apache.activemq.artemis.api.core.Message
-
getAnnotation
public java.lang.Object getAnnotation(org.apache.activemq.artemis.api.core.SimpleString key)
- Specified by:
getAnnotationin interfaceorg.apache.activemq.artemis.api.core.Message
-
getScheduledDeliveryTime
public java.lang.Long getScheduledDeliveryTime()
- Specified by:
getScheduledDeliveryTimein interfaceorg.apache.activemq.artemis.api.core.Message
-
getDurableCount
public int getDurableCount()
- Specified by:
getDurableCountin interfaceorg.apache.activemq.artemis.api.core.Message
-
copy
public org.apache.activemq.artemis.api.core.Message copy()
- Specified by:
copyin interfaceorg.apache.activemq.artemis.api.core.Message
-
copy
public org.apache.activemq.artemis.api.core.Message copy(long newID)
- Specified by:
copyin interfaceorg.apache.activemq.artemis.api.core.Message
-
getMessageID
public long getMessageID()
- Specified by:
getMessageIDin interfaceorg.apache.activemq.artemis.api.core.Message
-
setMessageID
public org.apache.activemq.artemis.api.core.Message setMessageID(long id)
- Specified by:
setMessageIDin interfaceorg.apache.activemq.artemis.api.core.Message
-
getExpiration
public long getExpiration()
- Specified by:
getExpirationin interfaceorg.apache.activemq.artemis.api.core.Message
-
setExpiration
public org.apache.activemq.artemis.api.core.Message setExpiration(long expiration)
- Specified by:
setExpirationin interfaceorg.apache.activemq.artemis.api.core.Message
-
getUserID
public java.lang.Object getUserID()
- Specified by:
getUserIDin interfaceorg.apache.activemq.artemis.api.core.Message
-
setUserID
public org.apache.activemq.artemis.api.core.Message setUserID(java.lang.Object userID)
- Specified by:
setUserIDin interfaceorg.apache.activemq.artemis.api.core.Message
-
isDurable
public boolean isDurable()
- Specified by:
isDurablein interfaceorg.apache.activemq.artemis.api.core.Message
-
setDurable
public org.apache.activemq.artemis.api.core.Message setDurable(boolean durable)
- Specified by:
setDurablein interfaceorg.apache.activemq.artemis.api.core.Message
-
getPersister
public org.apache.activemq.artemis.core.persistence.Persister<org.apache.activemq.artemis.api.core.Message> getPersister()
- Specified by:
getPersisterin interfaceorg.apache.activemq.artemis.api.core.Message
-
getAddress
public java.lang.String getAddress()
- Specified by:
getAddressin interfaceorg.apache.activemq.artemis.api.core.Message
-
setAddress
public org.apache.activemq.artemis.api.core.Message setAddress(java.lang.String address)
- Specified by:
setAddressin interfaceorg.apache.activemq.artemis.api.core.Message
-
getAddressSimpleString
public org.apache.activemq.artemis.api.core.SimpleString getAddressSimpleString()
- Specified by:
getAddressSimpleStringin interfaceorg.apache.activemq.artemis.api.core.Message
-
setAddress
public org.apache.activemq.artemis.api.core.Message setAddress(org.apache.activemq.artemis.api.core.SimpleString address)
- Specified by:
setAddressin interfaceorg.apache.activemq.artemis.api.core.Message
-
getTimestamp
public long getTimestamp()
- Specified by:
getTimestampin interfaceorg.apache.activemq.artemis.api.core.Message
-
setTimestamp
public org.apache.activemq.artemis.api.core.Message setTimestamp(long timestamp)
- Specified by:
setTimestampin interfaceorg.apache.activemq.artemis.api.core.Message
-
getPriority
public byte getPriority()
- Specified by:
getPriorityin interfaceorg.apache.activemq.artemis.api.core.Message
-
setPriority
public org.apache.activemq.artemis.api.core.Message setPriority(byte priority)
- Specified by:
setPriorityin interfaceorg.apache.activemq.artemis.api.core.Message
-
receiveBuffer
public void receiveBuffer(io.netty.buffer.ByteBuf buffer)
- Specified by:
receiveBufferin interfaceorg.apache.activemq.artemis.api.core.Message
-
sendBuffer
public void sendBuffer(io.netty.buffer.ByteBuf buffer, int deliveryCount)- Specified by:
sendBufferin interfaceorg.apache.activemq.artemis.api.core.Message
-
getPersistSize
public int getPersistSize()
- Specified by:
getPersistSizein interfaceorg.apache.activemq.artemis.api.core.Message
-
persist
public void persist(org.apache.activemq.artemis.api.core.ActiveMQBuffer targetRecord)
- Specified by:
persistin interfaceorg.apache.activemq.artemis.api.core.Message
-
reloadPersistence
public void reloadPersistence(org.apache.activemq.artemis.api.core.ActiveMQBuffer record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools)- Specified by:
reloadPersistencein interfaceorg.apache.activemq.artemis.api.core.Message
-
putBooleanProperty
public org.apache.activemq.artemis.api.core.Message putBooleanProperty(java.lang.String key, boolean value)- Specified by:
putBooleanPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putByteProperty
public org.apache.activemq.artemis.api.core.Message putByteProperty(java.lang.String key, byte value)- Specified by:
putBytePropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putBytesProperty
public org.apache.activemq.artemis.api.core.Message putBytesProperty(java.lang.String key, byte[] value)- Specified by:
putBytesPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putShortProperty
public org.apache.activemq.artemis.api.core.Message putShortProperty(java.lang.String key, short value)- Specified by:
putShortPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putCharProperty
public org.apache.activemq.artemis.api.core.Message putCharProperty(java.lang.String key, char value)- Specified by:
putCharPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putIntProperty
public org.apache.activemq.artemis.api.core.Message putIntProperty(java.lang.String key, int value)- Specified by:
putIntPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putLongProperty
public org.apache.activemq.artemis.api.core.Message putLongProperty(java.lang.String key, long value)- Specified by:
putLongPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putFloatProperty
public org.apache.activemq.artemis.api.core.Message putFloatProperty(java.lang.String key, float value)- Specified by:
putFloatPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putDoubleProperty
public org.apache.activemq.artemis.api.core.Message putDoubleProperty(java.lang.String key, double value)- Specified by:
putDoublePropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putBooleanProperty
public org.apache.activemq.artemis.api.core.Message putBooleanProperty(org.apache.activemq.artemis.api.core.SimpleString key, boolean value)- Specified by:
putBooleanPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putByteProperty
public org.apache.activemq.artemis.api.core.Message putByteProperty(org.apache.activemq.artemis.api.core.SimpleString key, byte value)- Specified by:
putBytePropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putBytesProperty
public org.apache.activemq.artemis.api.core.Message putBytesProperty(org.apache.activemq.artemis.api.core.SimpleString key, byte[] value)- Specified by:
putBytesPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putShortProperty
public org.apache.activemq.artemis.api.core.Message putShortProperty(org.apache.activemq.artemis.api.core.SimpleString key, short value)- Specified by:
putShortPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putCharProperty
public org.apache.activemq.artemis.api.core.Message putCharProperty(org.apache.activemq.artemis.api.core.SimpleString key, char value)- Specified by:
putCharPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putIntProperty
public org.apache.activemq.artemis.api.core.Message putIntProperty(org.apache.activemq.artemis.api.core.SimpleString key, int value)- Specified by:
putIntPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putLongProperty
public org.apache.activemq.artemis.api.core.Message putLongProperty(org.apache.activemq.artemis.api.core.SimpleString key, long value)- Specified by:
putLongPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putFloatProperty
public org.apache.activemq.artemis.api.core.Message putFloatProperty(org.apache.activemq.artemis.api.core.SimpleString key, float value)- Specified by:
putFloatPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putDoubleProperty
public org.apache.activemq.artemis.api.core.Message putDoubleProperty(org.apache.activemq.artemis.api.core.SimpleString key, double value)- Specified by:
putDoublePropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putStringProperty
public org.apache.activemq.artemis.api.core.Message putStringProperty(java.lang.String key, java.lang.String value)- Specified by:
putStringPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putObjectProperty
public org.apache.activemq.artemis.api.core.Message putObjectProperty(java.lang.String key, java.lang.Object value) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
putObjectPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
putObjectProperty
public org.apache.activemq.artemis.api.core.Message putObjectProperty(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.Object value) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
putObjectPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
removeProperty
public java.lang.Object removeProperty(java.lang.String key)
- Specified by:
removePropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
containsProperty
public boolean containsProperty(java.lang.String key)
- Specified by:
containsPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
getBooleanProperty
public java.lang.Boolean getBooleanProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getBooleanPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getByteProperty
public java.lang.Byte getByteProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getBytePropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getDoubleProperty
public java.lang.Double getDoubleProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getDoublePropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getIntProperty
public java.lang.Integer getIntProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getIntPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getLongProperty
public java.lang.Long getLongProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getLongPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getObjectProperty
public java.lang.Object getObjectProperty(java.lang.String key)
- Specified by:
getObjectPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
getShortProperty
public java.lang.Short getShortProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getShortPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getFloatProperty
public java.lang.Float getFloatProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getFloatPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getStringProperty
public java.lang.String getStringProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getStringPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getSimpleStringProperty
public org.apache.activemq.artemis.api.core.SimpleString getSimpleStringProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getSimpleStringPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getBytesProperty
public byte[] getBytesProperty(java.lang.String key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getBytesPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
removeProperty
public java.lang.Object removeProperty(org.apache.activemq.artemis.api.core.SimpleString key)
- Specified by:
removePropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
getBooleanProperty
public java.lang.Boolean getBooleanProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getBooleanPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getByteProperty
public java.lang.Byte getByteProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getBytePropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getDoubleProperty
public java.lang.Double getDoubleProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getDoublePropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getIntProperty
public java.lang.Integer getIntProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getIntPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getLongProperty
public java.lang.Long getLongProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getLongPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getObjectProperty
public java.lang.Object getObjectProperty(org.apache.activemq.artemis.api.core.SimpleString key)
- Specified by:
getObjectPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
getShortProperty
public java.lang.Short getShortProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getShortPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getFloatProperty
public java.lang.Float getFloatProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getFloatPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getStringProperty
public java.lang.String getStringProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getStringPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getSimpleStringProperty
public org.apache.activemq.artemis.api.core.SimpleString getSimpleStringProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getSimpleStringPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
getBytesProperty
public byte[] getBytesProperty(org.apache.activemq.artemis.api.core.SimpleString key) throws org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException- Specified by:
getBytesPropertyin interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException
-
putStringProperty
public org.apache.activemq.artemis.api.core.Message putStringProperty(org.apache.activemq.artemis.api.core.SimpleString key, org.apache.activemq.artemis.api.core.SimpleString value)- Specified by:
putStringPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
putStringProperty
public org.apache.activemq.artemis.api.core.Message putStringProperty(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.String value)- Specified by:
putStringPropertyin interfaceorg.apache.activemq.artemis.api.core.Message
-
getEncodeSize
public int getEncodeSize()
- Specified by:
getEncodeSizein interfaceorg.apache.activemq.artemis.api.core.Message
-
getPropertyNames
public java.util.Set<org.apache.activemq.artemis.api.core.SimpleString> getPropertyNames()
- Specified by:
getPropertyNamesin interfaceorg.apache.activemq.artemis.api.core.Message
-
getRefCount
public int getRefCount()
- Specified by:
getRefCountin interfaceorg.apache.activemq.artemis.api.core.Message
-
refUp
public int refUp()
- Specified by:
refUpin interfaceorg.apache.activemq.artemis.api.core.Message
-
refDown
public int refDown()
- Specified by:
refDownin interfaceorg.apache.activemq.artemis.api.core.Message
-
durableUp
public int durableUp()
- Specified by:
durableUpin interfaceorg.apache.activemq.artemis.api.core.Message
-
durableDown
public int durableDown()
- Specified by:
durableDownin interfaceorg.apache.activemq.artemis.api.core.Message
-
toCore
public org.apache.activemq.artemis.api.core.ICoreMessage toCore()
- Specified by:
toCorein interfaceorg.apache.activemq.artemis.api.core.Message
-
toCore
public org.apache.activemq.artemis.api.core.ICoreMessage toCore(org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)
- Specified by:
toCorein interfaceorg.apache.activemq.artemis.api.core.Message
-
getMemoryEstimate
public int getMemoryEstimate()
- Specified by:
getMemoryEstimatein interfaceorg.apache.activemq.artemis.api.core.Message
-
getPersistentSize
public long getPersistentSize() throws org.apache.activemq.artemis.api.core.ActiveMQException- Specified by:
getPersistentSizein interfaceorg.apache.activemq.artemis.api.core.Message- Throws:
org.apache.activemq.artemis.api.core.ActiveMQException
-
getOwner
public java.lang.Object getOwner()
- Specified by:
getOwnerin interfaceorg.apache.activemq.artemis.api.core.Message
-
setOwner
public void setOwner(java.lang.Object object)
- Specified by:
setOwnerin interfaceorg.apache.activemq.artemis.api.core.Message
-
getUsage
public int getUsage()
- Specified by:
getUsagein interfaceorg.apache.activemq.artemis.api.core.Message
-
usageUp
public int usageUp()
- Specified by:
usageUpin interfaceorg.apache.activemq.artemis.api.core.Message
-
usageDown
public int usageDown()
- Specified by:
usageDownin interfaceorg.apache.activemq.artemis.api.core.Message
-
getUserContext
public java.lang.Object getUserContext(java.lang.Object key)
- Specified by:
getUserContextin interfaceorg.apache.activemq.artemis.api.core.Message
-
setUserContext
public void setUserContext(java.lang.Object key, java.lang.Object value)- Specified by:
setUserContextin interfaceorg.apache.activemq.artemis.api.core.Message
-
-