Boilerplate code for service bus