org.apache.qpid.tools
Class MessageFactory
java.lang.Object
org.apache.qpid.tools.MessageFactory
public class MessageFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageFactory
public MessageFactory()
createBytesMessage
public static Message createBytesMessage(Session ssn,
int size)
throws JMSException
- Throws:
JMSException
createTextMessage
public static Message createTextMessage(Session ssn,
int size)
throws JMSException
- Throws:
JMSException
createMessagePayload
public static String createMessagePayload(int size)
Licensed to the Apache Software Foundation