BZ-1011573 - Improve backwards compatibility of task service
 - utility class to register a replacement for the hornetq handler using
local task service