protected void RecoverState()
{
if (prefetchCountConsumer != 0)
{
BasicQos(prefetchCountConsumer, false);
}
if (prefetchCountGlobal != 0)
{
BasicQos(prefetchCountGlobal, true);
}
if (usesPublisherConfirms)
{
ConfirmSelect();
}
if (usesTransactions)
{
TxSelect();
}
}