KARAF-2741 Share TemplateUtils between jms and jdbc