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

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


       super.tearDown();
    }

    protected Message createForeignMessage() throws Exception
    {
        SimpleJMSMapMessage m = new SimpleJMSMapMessage();
       
        log.debug("creating JMS Message type " + m.getClass().getName());
       
        m.setBoolean("boolean1",true);
        m.setChar("char1",'c');
        m.setDouble("double1",1.0D);
        m.setFloat("float1",2.0F);
        m.setInt("int1",3);
        m.setLong("long1",4L);
        m.setObject("object1",obj);
        m.setShort("short1",(short)5);
        m.setString("string1","stringvalue");

        return m;
    }
View Full Code Here


        super(name);
    }
   
    protected Message createForeignMessage() throws Exception
    {
        SimpleJMSMapMessage m = new SimpleJMSMapMessage();
       
        log.debug("creating JMS Message type " + m.getClass().getName());
       
        m.setBoolean("boolean1",true);
        m.setChar("char1",'c');
        m.setDouble("double1",1.0D);
        m.setFloat("float1",2.0F);
        m.setInt("int1",3);
        m.setLong("long1",4L);
        m.setObject("object1",obj);
        m.setShort("short1",(short)5);
        m.setString("string1","stringvalue");

        return m;
    }
View Full Code Here

TOP

Related Classes of org.jboss.test.messaging.jms.message.SimpleJMSMapMessage

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.