To a food processor, add dried apricots, thyme, allspice and garlic. Pulse. Add in onions. Pulse. Add in mustard, cayenne, salt, apple cider vinegar and olive oil. Pulse. Add in apple juice and apricot jam. Pulse to combine. Taste and adjust flavors to your liking. Best after sitting for 24 hours to allow flavors to merry.