Package org.activemq.message

Examples of org.activemq.message.ActiveMQBytesMessage.readDouble()


  public void testReadDouble() {
    ActiveMQBytesMessage msg = new ActiveMQBytesMessage();
    try {
      msg.writeDouble(3.3d);
      msg.reset();
      assertTrue(msg.readDouble() == 3.3d);
    } catch (JMSException jmsEx) {
      jmsEx.printStackTrace();
      assertTrue(false);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.