com.caucho.quercus.lib.jms
Class JMSQueue

java.lang.Object
  extended by com.caucho.quercus.lib.jms.JMSQueue

public class JMSQueue
extends java.lang.Object

JMS functions


Constructor Summary
JMSQueue(ConnectionFactory connectionFactory, Destination queue)
          Connects to a named queue.
 
Method Summary
static Value __construct(Env env, java.lang.String queueName)
           
protected  void finalize()
           
 Value receive(Env env, long timeout)
           
 boolean send(Value value, JMSQueue replyTo)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSQueue

public JMSQueue(ConnectionFactory connectionFactory,
                Destination queue)
         throws java.lang.Exception
Connects to a named queue.

Throws:
java.lang.Exception
Method Detail

__construct

public static Value __construct(Env env,
                                java.lang.String queueName)

send

public boolean send(Value value,
                    JMSQueue replyTo)
             throws JMSException
Throws:
JMSException

receive

public Value receive(Env env,
                     long timeout)
              throws JMSException
Throws:
JMSException

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object