Wash and drain vegetables.
Slice cucumbers and onions.
Soak in salt solution (2 quarts ice water and 1/2 cup salt) for 3 hours.
Mix vinegar, sugar and spices.
Bring to a boil.
Add cucumbers and onions just to heat through.
Pack hot cucumbers into jars, leaving 1/2-inch head space.
Cover with boiling hot liquid.
Adjust lids.
Process in boiling-water-bath for 15 minutes.