void messageAcknowledge(RangeSet ranges, boolean accept,boolean setSyncBit)
{
Session ssn = getQpidSession();
for (Range range : ranges)
{
ssn.processed(range);
}
ssn.flushProcessed(accept ? BATCH : NONE);
if (accept)
{
ssn.messageAccept(ranges, UNRELIABLE,setSyncBit? SYNC : NONE);