Package org.hornetq.jms.tests.message

Examples of org.hornetq.jms.tests.message.SimpleJMSStreamMessage


{

   @Override
   protected Message createForeignMessage() throws Exception
   {
      SimpleJMSStreamMessage m = new SimpleJMSStreamMessage();

      log.debug("creating JMS Message type " + m.getClass().getName());

      m.writeBoolean(true);
      m.writeBytes("jboss".getBytes());
      m.writeChar('c');
      m.writeDouble(1.0D);
      m.writeFloat(2.0F);
      m.writeInt(3);
      m.writeLong(4L);
      m.writeObject("object");
      m.writeShort((short)5);
      m.writeString("stringvalue");

      return m;
   }
View Full Code Here


{

   @Override
   protected Message createForeignMessage() throws Exception
   {
      SimpleJMSStreamMessage m = new SimpleJMSStreamMessage();

      log.debug("creating JMS Message type " + m.getClass().getName());

      m.writeBoolean(true);
      m.writeBytes("jboss".getBytes());
      m.writeChar('c');
      m.writeDouble(1.0D);
      m.writeFloat(2.0F);
      m.writeInt(3);
      m.writeLong(4L);
      m.writeObject("object");
      m.writeShort((short)5);
      m.writeString("stringvalue");

      return m;
   }
View Full Code Here

TOP

Related Classes of org.hornetq.jms.tests.message.SimpleJMSStreamMessage

Copyright © 2018 www.massapicom. 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.