Package org.jboss.test.messaging.jms.message

Examples of org.jboss.test.messaging.jms.message.SimpleJMSStreamMessage


       super.tearDown();
    }

    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


        super(name);
    }
   
    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.jboss.test.messaging.jms.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.