EntryBinding keyBinding = new AMQShortStringTB();
keyBinding.objectToEntry(queue.getNameShortString(), key);
DatabaseEntry value = new DatabaseEntry();
DatabaseEntry newValue = new DatabaseEntry();
TupleBinding queueBinding = _queueTupleBindingFactory.getInstance();
OperationStatus status = _queueDb.get(null, key, value, LockMode.DEFAULT);
if(status == OperationStatus.SUCCESS)
{
//read the existing record and apply the new exclusivity setting
QueueRecord queueRecord = (QueueRecord) queueBinding.entryToObject(value);
queueRecord.setExclusive(queue.isExclusive());
//write the updated entry to the store
queueBinding.objectToEntry(queueRecord, newValue);
_queueDb.put(null, key, newValue);
}
else if(status != OperationStatus.NOTFOUND)
{