Class 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
      boolean containsProperty​(java.lang.String key)  
      boolean containsProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      org.apache.activemq.artemis.api.core.Message copy()  
      org.apache.activemq.artemis.api.core.Message copy​(long newID)  
      int durableDown()  
      int durableUp()  
      java.lang.String getAddress()  
      org.apache.activemq.artemis.api.core.SimpleString getAddressSimpleString()  
      java.lang.Object getAnnotation​(org.apache.activemq.artemis.api.core.SimpleString key)  
      java.lang.Boolean getBooleanProperty​(java.lang.String key)  
      java.lang.Boolean getBooleanProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      java.lang.Byte getByteProperty​(java.lang.String key)  
      java.lang.Byte getByteProperty​(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.Double getDoubleProperty​(java.lang.String key)  
      java.lang.Double getDoubleProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      int getDurableCount()  
      int getEncodeSize()  
      long getExpiration()  
      java.lang.Float getFloatProperty​(java.lang.String key)  
      java.lang.Float getFloatProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      java.lang.Integer getIntProperty​(java.lang.String key)  
      java.lang.Integer getIntProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      java.lang.Long getLongProperty​(java.lang.String key)  
      java.lang.Long getLongProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      int getMemoryEstimate()  
      long getMessageID()  
      java.lang.Object getObjectProperty​(java.lang.String key)  
      java.lang.Object getObjectProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      java.lang.Object getOwner()  
      long getPersistentSize()  
      org.apache.activemq.artemis.core.persistence.Persister<org.apache.activemq.artemis.api.core.Message> getPersister()  
      int getPersistSize()  
      byte getPriority()  
      java.util.Set<org.apache.activemq.artemis.api.core.SimpleString> getPropertyNames()  
      java.lang.String getProtocolName()  
      int getRefCount()  
      org.apache.activemq.artemis.api.core.SimpleString getReplyTo()  
      java.lang.Long getScheduledDeliveryTime()  
      java.lang.Short getShortProperty​(java.lang.String key)  
      java.lang.Short getShortProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      org.apache.activemq.artemis.api.core.SimpleString getSimpleStringProperty​(java.lang.String key)  
      org.apache.activemq.artemis.api.core.SimpleString getSimpleStringProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      java.lang.String getStringProperty​(java.lang.String key)  
      java.lang.String getStringProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      long getTimestamp()  
      int getUsage()  
      java.lang.Object getUserContext​(java.lang.Object key)  
      java.lang.Object getUserID()  
      boolean isDurable()  
      void messageChanged()  
      void persist​(org.apache.activemq.artemis.api.core.ActiveMQBuffer targetRecord)  
      org.apache.activemq.artemis.api.core.Message putBooleanProperty​(java.lang.String key, boolean value)  
      org.apache.activemq.artemis.api.core.Message putBooleanProperty​(org.apache.activemq.artemis.api.core.SimpleString key, boolean value)  
      org.apache.activemq.artemis.api.core.Message putByteProperty​(java.lang.String key, byte value)  
      org.apache.activemq.artemis.api.core.Message putByteProperty​(org.apache.activemq.artemis.api.core.SimpleString key, byte value)  
      org.apache.activemq.artemis.api.core.Message putBytesProperty​(java.lang.String key, byte[] value)  
      org.apache.activemq.artemis.api.core.Message putBytesProperty​(org.apache.activemq.artemis.api.core.SimpleString key, byte[] value)  
      org.apache.activemq.artemis.api.core.Message putCharProperty​(java.lang.String key, char value)  
      org.apache.activemq.artemis.api.core.Message putCharProperty​(org.apache.activemq.artemis.api.core.SimpleString key, char value)  
      org.apache.activemq.artemis.api.core.Message putDoubleProperty​(java.lang.String key, double value)  
      org.apache.activemq.artemis.api.core.Message putDoubleProperty​(org.apache.activemq.artemis.api.core.SimpleString key, double value)  
      org.apache.activemq.artemis.api.core.Message putFloatProperty​(java.lang.String key, float value)  
      org.apache.activemq.artemis.api.core.Message putFloatProperty​(org.apache.activemq.artemis.api.core.SimpleString key, float value)  
      org.apache.activemq.artemis.api.core.Message putIntProperty​(java.lang.String key, int value)  
      org.apache.activemq.artemis.api.core.Message putIntProperty​(org.apache.activemq.artemis.api.core.SimpleString key, int value)  
      org.apache.activemq.artemis.api.core.Message putLongProperty​(java.lang.String key, long value)  
      org.apache.activemq.artemis.api.core.Message putLongProperty​(org.apache.activemq.artemis.api.core.SimpleString key, long value)  
      org.apache.activemq.artemis.api.core.Message putObjectProperty​(java.lang.String key, java.lang.Object value)  
      org.apache.activemq.artemis.api.core.Message putObjectProperty​(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.Object value)  
      org.apache.activemq.artemis.api.core.Message putShortProperty​(java.lang.String key, short value)  
      org.apache.activemq.artemis.api.core.Message putShortProperty​(org.apache.activemq.artemis.api.core.SimpleString key, short value)  
      org.apache.activemq.artemis.api.core.Message putStringProperty​(java.lang.String key, java.lang.String value)  
      org.apache.activemq.artemis.api.core.Message putStringProperty​(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.String value)  
      org.apache.activemq.artemis.api.core.Message putStringProperty​(org.apache.activemq.artemis.api.core.SimpleString key, org.apache.activemq.artemis.api.core.SimpleString value)  
      void receiveBuffer​(io.netty.buffer.ByteBuf buffer)  
      int refDown()  
      int refUp()  
      void reloadPersistence​(org.apache.activemq.artemis.api.core.ActiveMQBuffer record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools)  
      java.lang.Object removeAnnotation​(org.apache.activemq.artemis.api.core.SimpleString key)  
      java.lang.Object removeProperty​(java.lang.String key)  
      java.lang.Object removeProperty​(org.apache.activemq.artemis.api.core.SimpleString key)  
      void sendBuffer​(io.netty.buffer.ByteBuf buffer, int deliveryCount)  
      org.apache.activemq.artemis.api.core.Message setAddress​(java.lang.String address)  
      org.apache.activemq.artemis.api.core.Message setAddress​(org.apache.activemq.artemis.api.core.SimpleString address)  
      org.apache.activemq.artemis.api.core.Message setDurable​(boolean durable)  
      org.apache.activemq.artemis.api.core.Message setExpiration​(long expiration)  
      org.apache.activemq.artemis.api.core.Message setMessageID​(long id)  
      void setOwner​(java.lang.Object object)  
      org.apache.activemq.artemis.api.core.Message setPriority​(byte priority)  
      org.apache.activemq.artemis.api.core.Message setReplyTo​(org.apache.activemq.artemis.api.core.SimpleString address)  
      org.apache.activemq.artemis.api.core.Message setTimestamp​(long timestamp)  
      void setUserContext​(java.lang.Object key, java.lang.Object value)  
      org.apache.activemq.artemis.api.core.Message setUserID​(java.lang.Object userID)  
      org.apache.activemq.artemis.api.core.ICoreMessage toCore()  
      org.apache.activemq.artemis.api.core.ICoreMessage toCore​(org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)  
      int usageDown()  
      int usageUp()  
      • 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
    • Constructor Detail

      • OpenwireMessage

        public OpenwireMessage()
    • Method Detail

      • getProtocolName

        public java.lang.String getProtocolName()
        Specified by:
        getProtocolName in interface org.apache.activemq.artemis.api.core.Message
      • containsProperty

        public boolean containsProperty​(org.apache.activemq.artemis.api.core.SimpleString key)
        Specified by:
        containsProperty in interface org.apache.activemq.artemis.api.core.Message
      • messageChanged

        public void messageChanged()
        Specified by:
        messageChanged in interface org.apache.activemq.artemis.api.core.Message
      • getReplyTo

        public org.apache.activemq.artemis.api.core.SimpleString getReplyTo()
        Specified by:
        getReplyTo in interface org.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:
        setReplyTo in interface org.apache.activemq.artemis.api.core.Message
      • removeAnnotation

        public java.lang.Object removeAnnotation​(org.apache.activemq.artemis.api.core.SimpleString key)
        Specified by:
        removeAnnotation in interface org.apache.activemq.artemis.api.core.Message
      • getAnnotation

        public java.lang.Object getAnnotation​(org.apache.activemq.artemis.api.core.SimpleString key)
        Specified by:
        getAnnotation in interface org.apache.activemq.artemis.api.core.Message
      • getScheduledDeliveryTime

        public java.lang.Long getScheduledDeliveryTime()
        Specified by:
        getScheduledDeliveryTime in interface org.apache.activemq.artemis.api.core.Message
      • getDurableCount

        public int getDurableCount()
        Specified by:
        getDurableCount in interface org.apache.activemq.artemis.api.core.Message
      • copy

        public org.apache.activemq.artemis.api.core.Message copy()
        Specified by:
        copy in interface org.apache.activemq.artemis.api.core.Message
      • copy

        public org.apache.activemq.artemis.api.core.Message copy​(long newID)
        Specified by:
        copy in interface org.apache.activemq.artemis.api.core.Message
      • getMessageID

        public long getMessageID()
        Specified by:
        getMessageID in interface org.apache.activemq.artemis.api.core.Message
      • setMessageID

        public org.apache.activemq.artemis.api.core.Message setMessageID​(long id)
        Specified by:
        setMessageID in interface org.apache.activemq.artemis.api.core.Message
      • getExpiration

        public long getExpiration()
        Specified by:
        getExpiration in interface org.apache.activemq.artemis.api.core.Message
      • setExpiration

        public org.apache.activemq.artemis.api.core.Message setExpiration​(long expiration)
        Specified by:
        setExpiration in interface org.apache.activemq.artemis.api.core.Message
      • getUserID

        public java.lang.Object getUserID()
        Specified by:
        getUserID in interface org.apache.activemq.artemis.api.core.Message
      • setUserID

        public org.apache.activemq.artemis.api.core.Message setUserID​(java.lang.Object userID)
        Specified by:
        setUserID in interface org.apache.activemq.artemis.api.core.Message
      • isDurable

        public boolean isDurable()
        Specified by:
        isDurable in interface org.apache.activemq.artemis.api.core.Message
      • setDurable

        public org.apache.activemq.artemis.api.core.Message setDurable​(boolean durable)
        Specified by:
        setDurable in interface org.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:
        getPersister in interface org.apache.activemq.artemis.api.core.Message
      • getAddress

        public java.lang.String getAddress()
        Specified by:
        getAddress in interface org.apache.activemq.artemis.api.core.Message
      • setAddress

        public org.apache.activemq.artemis.api.core.Message setAddress​(java.lang.String address)
        Specified by:
        setAddress in interface org.apache.activemq.artemis.api.core.Message
      • getAddressSimpleString

        public org.apache.activemq.artemis.api.core.SimpleString getAddressSimpleString()
        Specified by:
        getAddressSimpleString in interface org.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:
        setAddress in interface org.apache.activemq.artemis.api.core.Message
      • getTimestamp

        public long getTimestamp()
        Specified by:
        getTimestamp in interface org.apache.activemq.artemis.api.core.Message
      • setTimestamp

        public org.apache.activemq.artemis.api.core.Message setTimestamp​(long timestamp)
        Specified by:
        setTimestamp in interface org.apache.activemq.artemis.api.core.Message
      • getPriority

        public byte getPriority()
        Specified by:
        getPriority in interface org.apache.activemq.artemis.api.core.Message
      • setPriority

        public org.apache.activemq.artemis.api.core.Message setPriority​(byte priority)
        Specified by:
        setPriority in interface org.apache.activemq.artemis.api.core.Message
      • receiveBuffer

        public void receiveBuffer​(io.netty.buffer.ByteBuf buffer)
        Specified by:
        receiveBuffer in interface org.apache.activemq.artemis.api.core.Message
      • sendBuffer

        public void sendBuffer​(io.netty.buffer.ByteBuf buffer,
                               int deliveryCount)
        Specified by:
        sendBuffer in interface org.apache.activemq.artemis.api.core.Message
      • getPersistSize

        public int getPersistSize()
        Specified by:
        getPersistSize in interface org.apache.activemq.artemis.api.core.Message
      • persist

        public void persist​(org.apache.activemq.artemis.api.core.ActiveMQBuffer targetRecord)
        Specified by:
        persist in interface org.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:
        reloadPersistence in interface org.apache.activemq.artemis.api.core.Message
      • putBooleanProperty

        public org.apache.activemq.artemis.api.core.Message putBooleanProperty​(java.lang.String key,
                                                                               boolean value)
        Specified by:
        putBooleanProperty in interface org.apache.activemq.artemis.api.core.Message
      • putByteProperty

        public org.apache.activemq.artemis.api.core.Message putByteProperty​(java.lang.String key,
                                                                            byte value)
        Specified by:
        putByteProperty in interface org.apache.activemq.artemis.api.core.Message
      • putBytesProperty

        public org.apache.activemq.artemis.api.core.Message putBytesProperty​(java.lang.String key,
                                                                             byte[] value)
        Specified by:
        putBytesProperty in interface org.apache.activemq.artemis.api.core.Message
      • putShortProperty

        public org.apache.activemq.artemis.api.core.Message putShortProperty​(java.lang.String key,
                                                                             short value)
        Specified by:
        putShortProperty in interface org.apache.activemq.artemis.api.core.Message
      • putCharProperty

        public org.apache.activemq.artemis.api.core.Message putCharProperty​(java.lang.String key,
                                                                            char value)
        Specified by:
        putCharProperty in interface org.apache.activemq.artemis.api.core.Message
      • putIntProperty

        public org.apache.activemq.artemis.api.core.Message putIntProperty​(java.lang.String key,
                                                                           int value)
        Specified by:
        putIntProperty in interface org.apache.activemq.artemis.api.core.Message
      • putLongProperty

        public org.apache.activemq.artemis.api.core.Message putLongProperty​(java.lang.String key,
                                                                            long value)
        Specified by:
        putLongProperty in interface org.apache.activemq.artemis.api.core.Message
      • putFloatProperty

        public org.apache.activemq.artemis.api.core.Message putFloatProperty​(java.lang.String key,
                                                                             float value)
        Specified by:
        putFloatProperty in interface org.apache.activemq.artemis.api.core.Message
      • putDoubleProperty

        public org.apache.activemq.artemis.api.core.Message putDoubleProperty​(java.lang.String key,
                                                                              double value)
        Specified by:
        putDoubleProperty in interface org.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:
        putBooleanProperty in interface org.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:
        putByteProperty in interface org.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:
        putBytesProperty in interface org.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:
        putShortProperty in interface org.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:
        putCharProperty in interface org.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:
        putIntProperty in interface org.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:
        putLongProperty in interface org.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:
        putFloatProperty in interface org.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:
        putDoubleProperty in interface org.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:
        putStringProperty in interface org.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:
        putObjectProperty in interface org.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:
        putObjectProperty in interface org.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:
        removeProperty in interface org.apache.activemq.artemis.api.core.Message
      • containsProperty

        public boolean containsProperty​(java.lang.String key)
        Specified by:
        containsProperty in interface org.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:
        getBooleanProperty in interface org.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:
        getByteProperty in interface org.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:
        getDoubleProperty in interface org.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:
        getIntProperty in interface org.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:
        getLongProperty in interface org.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:
        getObjectProperty in interface org.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:
        getShortProperty in interface org.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:
        getFloatProperty in interface org.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:
        getStringProperty in interface org.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:
        getSimpleStringProperty in interface org.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:
        getBytesProperty in interface org.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:
        removeProperty in interface org.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:
        getBooleanProperty in interface org.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:
        getByteProperty in interface org.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:
        getDoubleProperty in interface org.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:
        getIntProperty in interface org.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:
        getLongProperty in interface org.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:
        getObjectProperty in interface org.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:
        getShortProperty in interface org.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:
        getFloatProperty in interface org.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:
        getStringProperty in interface org.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:
        getSimpleStringProperty in interface org.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:
        getBytesProperty in interface org.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:
        putStringProperty in interface org.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:
        putStringProperty in interface org.apache.activemq.artemis.api.core.Message
      • getEncodeSize

        public int getEncodeSize()
        Specified by:
        getEncodeSize in interface org.apache.activemq.artemis.api.core.Message
      • getPropertyNames

        public java.util.Set<org.apache.activemq.artemis.api.core.SimpleString> getPropertyNames()
        Specified by:
        getPropertyNames in interface org.apache.activemq.artemis.api.core.Message
      • getRefCount

        public int getRefCount()
        Specified by:
        getRefCount in interface org.apache.activemq.artemis.api.core.Message
      • refUp

        public int refUp()
        Specified by:
        refUp in interface org.apache.activemq.artemis.api.core.Message
      • refDown

        public int refDown()
        Specified by:
        refDown in interface org.apache.activemq.artemis.api.core.Message
      • durableUp

        public int durableUp()
        Specified by:
        durableUp in interface org.apache.activemq.artemis.api.core.Message
      • durableDown

        public int durableDown()
        Specified by:
        durableDown in interface org.apache.activemq.artemis.api.core.Message
      • toCore

        public org.apache.activemq.artemis.api.core.ICoreMessage toCore()
        Specified by:
        toCore in interface org.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:
        toCore in interface org.apache.activemq.artemis.api.core.Message
      • getMemoryEstimate

        public int getMemoryEstimate()
        Specified by:
        getMemoryEstimate in interface org.apache.activemq.artemis.api.core.Message
      • getPersistentSize

        public long getPersistentSize()
                               throws org.apache.activemq.artemis.api.core.ActiveMQException
        Specified by:
        getPersistentSize in interface org.apache.activemq.artemis.api.core.Message
        Throws:
        org.apache.activemq.artemis.api.core.ActiveMQException
      • getOwner

        public java.lang.Object getOwner()
        Specified by:
        getOwner in interface org.apache.activemq.artemis.api.core.Message
      • setOwner

        public void setOwner​(java.lang.Object object)
        Specified by:
        setOwner in interface org.apache.activemq.artemis.api.core.Message
      • getUsage

        public int getUsage()
        Specified by:
        getUsage in interface org.apache.activemq.artemis.api.core.Message
      • usageUp

        public int usageUp()
        Specified by:
        usageUp in interface org.apache.activemq.artemis.api.core.Message
      • usageDown

        public int usageDown()
        Specified by:
        usageDown in interface org.apache.activemq.artemis.api.core.Message
      • getUserContext

        public java.lang.Object getUserContext​(java.lang.Object key)
        Specified by:
        getUserContext in interface org.apache.activemq.artemis.api.core.Message
      • setUserContext

        public void setUserContext​(java.lang.Object key,
                                   java.lang.Object value)
        Specified by:
        setUserContext in interface org.apache.activemq.artemis.api.core.Message