|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter
public class BlobJDBCAdapter
This JDBCAdapter inserts and extracts BLOB data using the getBlob()/setBlob() operations. This is a little more involved since to insert a blob you have to: 1: insert empty blob. 2: select the blob 3: finally update the blob with data value. The databases/JDBC drivers that use this adapter are:
| Field Summary |
|---|
| Fields inherited from class org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter |
|---|
batchStatments, cleanupExclusiveLock, MAX_ROWS, maxRows, prioritizedMessages, statements |
| Constructor Summary | |
|---|---|
BlobJDBCAdapter()
|
|
| Method Summary | |
|---|---|
void |
doAddMessage(java.sql.Connection c,
long seq,
java.lang.String messageID,
java.lang.String destinationName,
byte[] data)
|
byte[] |
doGetMessage(TransactionContext c,
long seq)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlobJDBCAdapter()
| Method Detail |
|---|
public void doAddMessage(java.sql.Connection c,
long seq,
java.lang.String messageID,
java.lang.String destinationName,
byte[] data)
throws java.sql.SQLException,
javax.jms.JMSException
java.sql.SQLException
javax.jms.JMSException
public byte[] doGetMessage(TransactionContext c,
long seq)
throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||