TupleBinding<Long> longTB = TupleBinding.getPrimitiveBinding(Long.class);
TupleBinding<Object> metaDataTB = new MessageMetaDataTupleBindingFactory(storeVersion).getInstance();
key = new DatabaseEntry();
data = new DatabaseEntry();
longTB.objectToEntry(new Long(messageId), key);
MessageMetaData metaData = new MessageMetaData(pubInfoBody, contentHeaderBody, 1);
metaDataTB.objectToEntry(metaData, data);
store.getMetaDataDb().put(null, key, data);
// add delivery entry to database
TransactionLogResource mockQueue = new TransactionLogResource()