WFLY-3768 Implement graceful shutdown for MDB's
Merge pull request #6668 from stuartwdouglas/WFLY-3768

WFLY-3768 Implement graceful shutdown for MDB's