com.caucho.jms
Class Jms
java.lang.Object
com.caucho.jms.Jms
public class Jms
- extends java.lang.Object
JMS facade
|
Constructor Summary |
Jms()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jms
public Jms()
send
public void send(Destination dest,
Message msg)
send
public void send(Destination dest,
Message msg,
int deliveryMode,
int priority,
long ttl)
receive
public Message receive(Destination dest)
createSession
public Session createSession()
throws JmsRuntimeException
- Creates an auto-ack session.
- Throws:
JmsRuntimeException
createConnection
public Connection createConnection()
createListener
public Session createListener(Connection conn,
Destination queue,
MessageListener listener)
throws JmsRuntimeException
- Creates a session and listener.
- Throws:
JmsRuntimeException
createTextMessage
public TextMessage createTextMessage(java.lang.String msg)