Package org.hornetq.jms.tests.message

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


public class ForeignBytesMessageTest extends ForeignMessageTest
{
   @Override
   protected Message createForeignMessage() throws Exception
   {
      SimpleJMSBytesMessage m = new SimpleJMSBytesMessage();

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

      String bytes = "HornetQ";
      m.writeBytes(bytes.getBytes());
      return m;
   }
View Full Code Here


public class ForeignBytesMessageTest extends ForeignMessageTest
{
   @Override
   protected Message createForeignMessage() throws Exception
   {
      SimpleJMSBytesMessage m = new SimpleJMSBytesMessage();

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

      String bytes = "HornetQ";
      m.writeBytes(bytes.getBytes());
      return m;
   }
View Full Code Here

public class ForeignBytesMessageTest extends ForeignMessageTest
{
   @Override
   protected Message createForeignMessage() throws Exception
   {
      SimpleJMSBytesMessage m = new SimpleJMSBytesMessage();

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

      String bytes = "HornetQ";
      m.writeBytes(bytes.getBytes());
      return m;
   }
View Full Code Here

TOP

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

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.