com.caucho.jms.jdbc
Class JdbcMessage

java.lang.Object
  extended by com.caucho.jms.jdbc.JdbcMessage

public class JdbcMessage
extends java.lang.Object

Represents a JDBC message.


Constructor Summary
JdbcMessage(JdbcManager jdbcManager)
           
 
Method Summary
 void init()
          Initializes the JdbcMessage
 long send(Message message, int queue, int priority, long expireTime)
          Sends the message to the queue.
 java.lang.String toString()
          Returns a printable view of the queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdbcMessage

public JdbcMessage(JdbcManager jdbcManager)
Method Detail

init

public void init()
          throws ConfigException,
                 java.sql.SQLException
Initializes the JdbcMessage

Throws:
ConfigException
java.sql.SQLException

send

public long send(Message message,
                 int queue,
                 int priority,
                 long expireTime)
          throws java.sql.SQLException,
                 java.io.IOException,
                 JMSException
Sends the message to the queue.

Throws:
java.sql.SQLException
java.io.IOException
JMSException

toString

public java.lang.String toString()
Returns a printable view of the queue.

Overrides:
toString in class java.lang.Object