// the reference is normally incremented. The test is easier to construct if we have direct access to the
// subscription
ArrayList<AMQQueue> qs = new ArrayList<AMQQueue>();
qs.add(_queue);
msg.enqueue(qs);
MessageMetaData mmd = msg.headersReceived();
msg.setStoredMessage(_messageStore.addMessage(mmd));
if(msg.allContentReceived())
{
ServerTransaction txn = new AutoCommitTransaction(_messageStore);
txn.enqueue(_queue, msg, new ServerTransaction.Action() {