|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cactus.JmsRequest
public class JmsRequest
Contains all JMS request data for a test case. It is the data that will be sent to the server redirector and that will be available to the test methods.
| Constructor Summary | |
|---|---|
JmsRequest(javax.jms.QueueSession theQueueSession)
|
|
| Method Summary | |
|---|---|
javax.jms.TextMessage |
createTextMessage()
Creates an empty text message. |
javax.jms.TextMessage |
createTextMessage(java.lang.String theText)
Creates a text message with a text. |
javax.jms.Message |
getMessage()
|
java.lang.String |
getQueueName()
|
void |
setQueueName(java.lang.String theQueueName)
Sets the Queue name to use to send the JMS message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmsRequest(javax.jms.QueueSession theQueueSession)
theQueueSession - the JMS Queue Session that we will use to send
JMS messages to the server side| Method Detail |
|---|
public javax.jms.TextMessage createTextMessage(java.lang.String theText)
theText - the text message
public javax.jms.TextMessage createTextMessage()
public javax.jms.Message getMessage()
public void setQueueName(java.lang.String theQueueName)
theQueueName - the JNDI queue namepublic java.lang.String getQueueName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||