In a medium saucepan over medium heat, combine white wine vinegar, water, sugar, and salt. Bring to a simmer and then stir in mustard seeds. Turn heat down to medium-low, and cook until seeds are tender and look a bit plumped, about 30 minutes. Stir in shallots and remove saucepan from heat.