public class JdbcMessage
extends java.lang.Object
Constructor and Description |
---|
JdbcMessage(JdbcManager jdbcManager) |
Modifier and Type | Method and Description |
---|---|
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.
|
public JdbcMessage(JdbcManager jdbcManager)
public void init() throws ConfigException, java.sql.SQLException
ConfigException
java.sql.SQLException
public long send(Message message, int queue, int priority, long expireTime) throws java.sql.SQLException, java.io.IOException, JMSException
java.sql.SQLException
java.io.IOException
JMSException
public java.lang.String toString()
toString
in class java.lang.Object