org.jboss.test.cts.jms
Class MsgSender
java.lang.Object
org.jboss.test.cts.jms.MsgSender
- public class MsgSender
- extends java.lang.Object
Method Summary |
void |
close()
Close JMS objects. |
void |
init(javax.naming.Context ctx,
java.lang.String queueName)
Create all the necessary objects for receiving messages from a JMS queue. |
void |
sendMsg(java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMS_FACTORY
public static final java.lang.String JMS_FACTORY
- See Also:
- Constant Field Values (src)
QUEUE
public static final java.lang.String QUEUE
- See Also:
- Constant Field Values (src)
MsgSender
public MsgSender()
init
public void init(javax.naming.Context ctx,
java.lang.String queueName)
throws javax.naming.NamingException,
JMSException (src)
- Create all the necessary objects for receiving messages from a JMS queue.
- Throws:
javax.naming.NamingException
JMSException (src)
close
public void close()
throws JMSException (src)
- Close JMS objects.
- Throws:
JMSException (src)
sendMsg
public void sendMsg(java.lang.String message)