This object is used heavily throughout HornetQ for performance reasons. @author Tim Fox
712713714715716717718719720721722
return this; } public Message putDoubleProperty(final String key, final double value) { properties.putDoubleProperty(new SimpleString(key), value); bufferValid = false; return this; }
721722723724725726727728729730731
return this; } public Message putStringProperty(final String key, final String value) { properties.putSimpleStringProperty(new SimpleString(key), SimpleString.toSimpleString(value)); bufferValid = false; return this; }
749750751752753754755
return properties.getBooleanProperty(key); } public Boolean getBooleanProperty(final String key) throws HornetQPropertyConversionException { return properties.getBooleanProperty(new SimpleString(key)); }
759760761762763764765
return properties.getByteProperty(key); } public Byte getByteProperty(final String key) throws HornetQPropertyConversionException { return properties.getByteProperty(new SimpleString(key)); }
769770771772773774775
return properties.getBytesProperty(key); } public byte[] getBytesProperty(final String key) throws HornetQPropertyConversionException { return getBytesProperty(new SimpleString(key)); }
779780781782783784785
return properties.getDoubleProperty(key); } public Double getDoubleProperty(final String key) throws HornetQPropertyConversionException { return properties.getDoubleProperty(new SimpleString(key)); }
789790791792793794795
return properties.getIntProperty(key); } public Integer getIntProperty(final String key) throws HornetQPropertyConversionException { return properties.getIntProperty(new SimpleString(key)); }
799800801802803804805
return properties.getLongProperty(key); } public Long getLongProperty(final String key) throws HornetQPropertyConversionException { return properties.getLongProperty(new SimpleString(key)); }
809810811812813814815
return properties.getShortProperty(key); } public Short getShortProperty(final String key) throws HornetQPropertyConversionException { return properties.getShortProperty(new SimpleString(key)); }
819820821822823824825
return properties.getFloatProperty(key); } public Float getFloatProperty(final String key) throws HornetQPropertyConversionException { return properties.getFloatProperty(new SimpleString(key)); }