@Override public double getDoubleProperty(final String name) throws JMSException { try { return message.getDoubleProperty(name); } catch (ActiveMQPropertyConversionException e) { throw new MessageFormatException(e.getMessage()); } }
@Override public double getDoubleProperty(final String name) throws JMSException { try { return message.getDoubleProperty(name); } catch (ActiveMQPropertyConversionException e) { throw new MessageFormatException(e.getMessage()); } }
@Override public double getDoubleProperty(final String name) throws JMSException { try { return message.getDoubleProperty(name); } catch (ActiveMQPropertyConversionException e) { throw new MessageFormatException(e.getMessage()); } }
@Override public double getDoubleProperty(final String name) throws JMSException { try { return message.getDoubleProperty(name); } catch (ActiveMQPropertyConversionException e) { throw new MessageFormatException(e.getMessage()); } }
@Override public double getDoubleProperty(final String name) throws JMSException { try { return message.getDoubleProperty(name); } catch (ActiveMQPropertyConversionException e) { throw new MessageFormatException(e.getMessage()); } }
Assert.assertEquals(j, bytes[j]); Assert.assertEquals(i * 1.6, msg.getDoubleProperty("myDoubleProperty"), 0.000001); Assert.assertEquals(i * 2.5F, msg.getFloatProperty("myFloatProperty"), 0.000001); Assert.assertEquals(i, msg.getIntProperty("myIntProperty").intValue());
assertEquals(j, bytes[j]); assertEquals(i * 1.6, msg.getDoubleProperty("myDoubleProperty"), 0.000001); assertEquals(i * 2.5F, msg.getFloatProperty("myFloatProperty"), 0.000001); assertEquals(i, msg.getIntProperty("myIntProperty").intValue());