Class JmsPropertiesBuilder.OutgoingJmsProperties

    • Method Detail

      • propertyExists

        public boolean propertyExists​(String name)
        Description copied from interface: JmsProperties
        Indicates whether a property value exists.
        Specified by:
        propertyExists in interface JmsProperties
        Parameters:
        name - the name of the property to test
        Returns:
        true if the property exists
      • getBooleanProperty

        public boolean getBooleanProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the boolean property with the specified name.
        Specified by:
        getBooleanProperty in interface JmsProperties
        Parameters:
        name - the name of the boolean property
        Returns:
        the boolean property value for the specified name
      • getByteProperty

        public byte getByteProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the byte property with the specified name.
        Specified by:
        getByteProperty in interface JmsProperties
        Parameters:
        name - the name of the byte property
        Returns:
        the byte property value for the specified name
      • getShortProperty

        public short getShortProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the short property with the specified name.
        Specified by:
        getShortProperty in interface JmsProperties
        Parameters:
        name - the name of the short property
        Returns:
        the short property value for the specified name
      • getIntProperty

        public int getIntProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the int property with the specified name.
        Specified by:
        getIntProperty in interface JmsProperties
        Parameters:
        name - the name of the int property
        Returns:
        the int property value for the specified name
      • getLongProperty

        public long getLongProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the long property with the specified name.
        Specified by:
        getLongProperty in interface JmsProperties
        Parameters:
        name - the name of the long property
        Returns:
        the long property value for the specified name
      • getFloatProperty

        public float getFloatProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the float property with the specified name.
        Specified by:
        getFloatProperty in interface JmsProperties
        Parameters:
        name - the name of the float property
        Returns:
        the float property value for the specified name
      • getDoubleProperty

        public double getDoubleProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the double property with the specified name.
        Specified by:
        getDoubleProperty in interface JmsProperties
        Parameters:
        name - the name of the double property
        Returns:
        the double property value for the specified name
      • getStringProperty

        public String getStringProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the String property with the specified name.
        Specified by:
        getStringProperty in interface JmsProperties
        Parameters:
        name - the name of the String property
        Returns:
        the String property value for the specified name; if there is no property by this name, a null value is returned
      • getObjectProperty

        public Object getObjectProperty​(String name)
        Description copied from interface: JmsProperties
        Returns the value of the Java object property with the specified name.

        This method can be used to return, in objectified format, an object that has been stored as a property in the message with the equivalent setObjectProperty method call, or its equivalent primitive settypeProperty method.

        Specified by:
        getObjectProperty in interface JmsProperties
        Parameters:
        name - the name of the Java object property
        Returns:
        the Java object property value with the specified name, in objectified format (for example, if the property was set as an int, an Integer is returned); if there is no property by this name, a null value is returned
      • getPropertyNames

        public Enumeration<String> getPropertyNames()
        Description copied from interface: JmsProperties
        Returns an Enumeration of all the property names.

        Note that Jakarta Messaging standard header fields are not considered properties and are not returned in this enumeration.

        Specified by:
        getPropertyNames in interface JmsProperties
        Returns:
        an enumeration of all the names of property values