public class MessageFactory extends Object
Constructor and Description |
---|
MessageFactory() |
Modifier and Type | Method and Description |
---|---|
static javax.jms.Message |
createBytesMessage(javax.jms.Session ssn,
int size) |
static String |
createMessagePayload(int size) |
static javax.jms.Message |
createTextMessage(javax.jms.Session ssn,
int size) |
public static javax.jms.Message createBytesMessage(javax.jms.Session ssn, int size) throws javax.jms.JMSException
javax.jms.JMSException
public static javax.jms.Message createTextMessage(javax.jms.Session ssn, int size) throws javax.jms.JMSException
javax.jms.JMSException
public static String createMessagePayload(int size)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.