It's enough if everything is on time and operating - if your connecting LHR-DUB is cancelled, then the next one is probably the same aircraft operating the 15:20 DUB-LHR, in which case you certainly won't have enough time to collect your bags and recheck.
I'd go for the 16:30.