com.ibm.msg.client.jms

Interface JmsPropertyContext

    • Method Detail

      • setCharProperty

        void setCharProperty(java.lang.String name,
                             char value)
                      throws javax.jms.JMSException
        Sets a character property value with the given name.
        Parameters:
        name - the name of the char property.
        value - the char value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setBooleanProperty

        void setBooleanProperty(java.lang.String name,
                                boolean value)
                         throws javax.jms.JMSException
        Sets a boolean property value with the given name.
        Parameters:
        name - the name of the boolean property.
        value - the boolean value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setByteProperty

        void setByteProperty(java.lang.String name,
                             byte value)
                      throws javax.jms.JMSException
        Sets a byte property value with the given name.
        Parameters:
        name - the name of the byte property.
        value - the byte value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setShortProperty

        void setShortProperty(java.lang.String name,
                              short value)
                       throws javax.jms.JMSException
        Sets a short property value with the given name.
        Parameters:
        name - the name of the short property.
        value - the short value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setIntProperty

        void setIntProperty(java.lang.String name,
                            int value)
                     throws javax.jms.JMSException
        Sets an int property value with the given name.
        Parameters:
        name - the name of the int property.
        value - the int value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setLongProperty

        void setLongProperty(java.lang.String name,
                             long value)
                      throws javax.jms.JMSException
        Sets a long property value with the given name.
        Parameters:
        name - the name of the long property.
        value - the long value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setFloatProperty

        void setFloatProperty(java.lang.String name,
                              float value)
                       throws javax.jms.JMSException
        Sets a float property value with the given name.
        Parameters:
        name - the name of the float property.
        value - the float value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setDoubleProperty

        void setDoubleProperty(java.lang.String name,
                               double value)
                        throws javax.jms.JMSException
        Sets a double property value with the given name.
        Parameters:
        name - the name of the double property.
        value - the double value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setStringProperty

        void setStringProperty(java.lang.String name,
                               java.lang.String value)
                        throws javax.jms.JMSException
        Sets a String property value with the given name.
        Parameters:
        name - the name of the String property.
        value - the String value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setObjectProperty

        void setObjectProperty(java.lang.String name,
                               java.lang.Object value)
                        throws javax.jms.JMSException
        Sets an Object property value with the given name.
        Parameters:
        name - the name of the Object property.
        value - the Object value to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setBytesProperty

        void setBytesProperty(java.lang.String name,
                              byte[] value)
                       throws javax.jms.JMSException
        Sets a byte array property value with the given name.
        Parameters:
        name - the name of the byte array property.
        value - the byte array to put into the property context.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if the proposed value is invalid for the property.
      • setBatchProperties

        void setBatchProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
                         throws javax.jms.JMSException
        Sets multiple property values passed in via a Map. If any property fails to be set, all changes are rolled back.
        Parameters:
        properties - the Map of properties.
        Throws:
        javax.jms.JMSException - if the property context is marked read-only or if any proposed value is invalid for any property.
(c) Copyright IBM Corp. 2008, 2016. All Rights Reserved.