Fixing setQueueRedrivePolicy error